Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^3: Whats with the autoincrementation of a string

by choroba (Canon)
on Jun 18, 2013 at 20:06 UTC ( #1039647=note: print w/ replies, xml ) Need Help??


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

No, "zc" will become "zd". Similarly, 93 + 1 = 94, not 104.

لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ


Comment on Re^3: Whats with the autoincrementation of a string
Re^4: Whats with the autoincrementation of a string
by bingalee (Acolyte) on Jun 18, 2013 at 21:19 UTC

    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! :-)

        ah!!!! I get it NOW. I feel really foolish :P

        so azz will be baa?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1039647]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (9)
As of 2015-07-05 23:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (68 votes), past polls