-->
Page 1 of 1

string or number???

PostPosted: Sun Dec 20, 2015 10:23 pm
by viscomjim
When doing this...

timesetup(-5,0)
delay 500

x = time()

hrones = mid(x,13,1)


Is hrones a number or a string value?

Re: string or number???

PostPosted: Mon Dec 21, 2015 12:04 am
by Mmiscool
Every thing in this basic interpreter is stored as a string and converted to a number on demand if required.

This is why when you want to add two strings you must use the & symbol.