Repeat for each assistance.

fatal error foxcat at comcast.net
Sun Aug 3 08:46:05 EDT 2003


I have the following loop statement:

repeat for each line gameLine in fld "gamelist"

I need to obtain the line number for the current iteration. I'm error
checking for the number of items in gameLine and if it isn't equal to 5, I
want to raise an answer dialog and stop the script, then hilight that line
in fld "gameList".

It has only been two days of my trial.

What can I query to get the iteration number of this loop?

Perhaps I'd be better off using a different repeat construct?

Thanks,

Andy






More information about the use-livecode mailing list