RosettaCodeData/Task/Increment-a-numerical-string/LiveCode/increment-a-numerical-string.livecode
2016-12-05 23:44:36 +01:00

4 lines
218 B
Text

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"