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

10 lines
144 B
Plaintext

include "NSLog.incl"
CFStringRef s = @"12345"
NSInteger i
for i = 1 to 10
NSLog( @"%ld", fn StringIntegerValue( s ) + i )
next
HandleEvents