On Monday, August 25, 2003, at 05:45 AM, Mark Smith wrote:

on tryLoopWith
  put "a,b,c,d,e,f" into charList
  repeat with n = 1 to the number of items in charList
    put item n of charList into line n of newCharList
  end repeat
  put newCharList && "with"
end tryLoopWith

Others have answered the "repeat for each" question, but I can't resist: this will also do the trick:


on tryLoopWith
  put "a,b,c,d,e,f" into charList
  put charList into newCharList
  replace "," with cr in newCharList
  put newCharList && "with"
end tryLoopWith

regards,

Geoff Canyon
[EMAIL PROTECTED]

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to