12-30-2024, 06:49 AM
(12-30-2024, 04:46 AM)SMcNeill Wrote: I don't think that's even allowed. You can't use an array like that in a FOR loop. At least, I don't think you can.
(Moved thread as this isn't any sort of utility at all. Just a basic observation.)
hi SMcNeill.
This is allowed, please try it and let me know what you think.
Code: (Select All)
FOR a = 1 TO 10
x(a) = a
NEXT
FOR b = x(1) TO x(10)
x(b) = b
PRINT x(b)
NEXT
Thanks.