Bj�rnke, I don't know how I did that duplicate post!? Sorry about that, but also thanks for your help.
I did start a counter to track the line number and it is working correctly. Back to work... Andy ----- Original Message ----- From: "Bj�rnke von Gierke" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, August 03, 2003 11:21 AM Subject: Re: Repeat for each assistance. > 'repeat for each line...' is faster then 'repeat with x = ...' thus you > should best use something like this: > > repeat for each line gameLine in fld "gamelist" > add one to x > if x <> 5 then > answer (line x) > hilite line x of field "gamelist" > exit repeat > end if > end repeat > > note the recent discussion "Repeat for each loop assistance, please." > issued by yoy where the exact same question got answered several times. > > On Samstag, Aug 2, 2003, at 21:06 Europe/Zurich, fatal error wrote: > > > 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 > > > > > > > > _______________________________________________ > > use-revolution mailing list > > [EMAIL PROTECTED] > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > _______________________________________________ > use-revolution mailing list > [EMAIL PROTECTED] > http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
