RosettaCodeData/Task/Increment-a-numerical-string/LiveCode/increment-a-numerical-strin...

5 lines
218 B
Plaintext

put "0" & "1234" into myString -- I think this will result in an internal string representation
add 1 to myString -- automatically converts to a number
put "The number is:" && myString
-- outputs "The number is: 1235"