At 1:59 PM +1200 8/8/01, Rodney Tamblyn wrote:
>Instead of:
>
>repeat with x = 1 to the number of items in myVar
>
>... could have:
>
>repeat with x in myVar by <delimiter>
>
>Advantages:
>- simpler syntax
>- consistent with syntax of other new commands in 2.4 like split
>
>Delimiters could be  comma|word|return

Sure, you can have that:

--comma, assuming you haven't set the itemDelimiter property
repeat for each item i in 1,2,3

--word
repeat for each word i in "MC Rocks Big Time"

--return
repeat for each line i in "Just one line, but you get the idea."


Regards,

Geoff

Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to