numberFormat affecting array keys???

Bob Sneidar bobsneidar at iotecdigital.com
Fri Apr 21 10:26:41 EDT 2017


Now I have you! It's NOT doing math in the loop! I know this because the VALUE is 1 and NOT 01.

Bob S


On Apr 20, 2017, at 17:32 , hh via use-livecode <use-livecode at lists.runrev.com<mailto:use-livecode at lists.runrev.com>> wrote:

Bob S. wrote:
Okay THAT has GOT to be a bug!!! Why the hell is numberformat modifying the
name of the array element?? I haven't done ANY math on it.

"repeat with i=1 to 10" uses i to count from 1 up to 10 step 1: That's a lot
of math you've done to i.

Whereas this doesn't touch the numbers:

 set the numberFormat to "00"
 put 1 into myArray[1]
 put 2 into myArray[2]




More information about the use-livecode mailing list