repeat for and scope, nesting

Mikey mikeythek at gmail.com
Sun Nov 19 14:14:56 EST 2006


No, I have not played with this, but the manual does not mention anything so...

Can you nest "repeat for" where the property is the same?

For example, if I have a container "alphabet" and another
"uppercaseLetters", can I

repeat for each character of alphabet
repeat for each character of uppercaseLetters?

The only way this would work would be if RR recognizes the scope of
thisChar to be local to each loop, which in many languages is
expected, but in many more is not...



More information about the use-livecode mailing list