On 5/24/19 10:25 AM, Mark Waddingham via use-livecode wrote:
However in this case the lax parsing of repeat is not benign - you can
write a 'repeat with' statement which looks like it is 100% correct but
does not do what you expect:
i.e. repeat with i = 1 to 10 by 2 -- ignores the 'by' clause
repeat with i = 1 to 10 step 2 -- this is what was meant
Of course (...don't tell me you didn't see this coming) it would be very
nice if "by" were a synonym for "step" in this syntax.
...just sayin'
--
Mark Wieder
ahsoftw...@gmail.com
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode