repeat question
repeat question
- Subject: repeat question
- From: Thomas Myers <email@hidden>
- Date: Wed, 12 Dec 2001 16:44:46 -0500
Does anyone know how to continue in a repeat statment without exiting.
repeat with aLine in {1,2,3,4}
if aLine = 3 then
continue
end if
log aline
end repeat
So what I want in this example is only 1, 2 and 4 logged out.
Yes I know i could do this by putting all of the stuff below the if in side the if, but in my case it's LOTS and it would be more readable if I could just tell it to continue to next repeat item.
Thanks
--
________________________________________________________________________
Thomas Myers - ITA,Inc. Apple Solution Expert: Product Professional
(585)328-7380
1250 Scottsville Rd, Ste 2
mailto:email@hidden
Rochester, NY 14624-5757
http://www.itainc.com
C/C++, Applescript, XML, Photoshop Plug-Ins, Automated QA Testing, SCSI, Firewire, Filemaker, Mac/Win cross platform solutions.
________________________________________________________________________