Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: Whats with the autoincrementation of a string

by bingalee (Acolyte)
on Jun 18, 2013 at 20:03 UTC ( #1039644=note: print w/replies, xml ) Need Help??


in reply to Re: Whats with the autoincrementation of a string
in thread Whats with the autoincrementation of a string

ok, so what about something that doest end with a "z" or a "9". Like will "zc" become "aad?"

  • Comment on Re^2: Whats with the autoincrementation of a string

Replies are listed 'Best First'.
Re^3: Whats with the autoincrementation of a string
by choroba (Chancellor) on Jun 18, 2013 at 20:06 UTC
    No, "zc" will become "zd". Similarly, 93 + 1 = 94, not 104.
    لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

      and something like "zaz" will become " aba" right?

        Nooo!!! The standard of arithmetic is going downhill nowadays! :-P

        z a z + 1 ------ z b a carry 1
        If you spot any bugs in my solutions, it's because I've deliberately left them in as an exercise for the reader! :-)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1039644]
help
Chatterbox?
[shmem]: choroba: it's hessisch
[Corion]: Not every Krug is a Bembel!
[karlgoethebier]: there is just the mug: 🍺
[Corion]: A Bembel must look like this
[karlgoethebier]: https://de. wikipedia.org/ wiki/Bembel#/ media/File: Bembel_Zum_blauen_ Bock_1978.jpg
[choroba]: as my friend says, Ich stehe Deutsche ver nicht aber klein ;-)
[Corion]: Krug is generic pottery ware for pouring beverages, but a Bembel is painted with that blue paint and contains only (!) Apfelwein
[shmem]: Corion: alas, air too.
[Corion]: shmem: Yes, very sad!
[choroba]: doesn't sound much useful, which means I'll probably remember it

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (13)
As of 2017-05-24 08:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?