Posted By
Rachy on 2009-05-03 17:05:27
| Re: limiTED2 - official thread
@MMS
Not exactly, every variable is floating point typed if you didn't specify the % (integer) or the $ (string) postfix. Like:
A=12.3 PRINT A
Result is
12.3
A%=12.3 PRINT A%
Result is
12
But oddly you cannot specify explicitly integer variable at the FOR iteration:
FOR A%=1 TO 10
causes syntax error. I don't know why.
On the other hand, using explicitly integer typed variable isn't faster at all, according to my experiences. It is even slower... (Most likely because of processing the extra character in the name of the variable.)
|