ot; to tCounter
exit checkItemCount
end if
end repeat
end checkItemCount
Hope that helps.
> Message: 10
> From: "fatal error" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Subject: Repeat for each assistance.
> Date: Sat, 2 Aug 2003 15:06:26 -04
CTED]>
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 gameL
'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 recen
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 th