Mark Waddingham wrote: > On 2016-04-29 04:30, Kay C Lan wrote: >> Does that mean the 'Important' note in the LC 8 Dictionary entry for >> 'repeat' isn't so Important any more? > > Yes! That note should probably be replaced by one which says you can > modify the target variable in the loop, but it won't have an effect > on what is being repeated over. (I'm sure there's a better way to > express that).
Thanks for chiming in on this, Mark. This seems like a very useful change, and one that means fewer things a newcomer needs to learn.
In the rare cases where we might want to modify the string being traversed, does the "repeat with i = 1 to..." form still allow that?
-- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ ambassa...@fourthworld.com http://www.FourthWorld.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