Hello, I have never been able to understand how to use the each form in a repeat statement.
Can anyone explain why this code does not work? It is almost verbatim from the example in the LC dictionary. on mouseUp repeat for each word thisWord in field justOne put "," after thisWord end repeat sort items of field justOne end mouseUp It does not insert the commas. Supposedly the each form is a lot faster than using "put x + 1 into x" "put "," after word x of field justOne Thanks, Larry _______________________________________________ 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