Page 1 of 1

repeat item

Posted: Fri Jul 13, 2012 12:36 pm
by link76
I want to repeat my item until the end, how can I do?

Code: Select all

put "valueA|valueB|valueC" into notes
set itemDelimiter to "|"

repeat until item to ???
.....
end repeat


Re: repeat item

Posted: Fri Jul 13, 2012 12:42 pm
by Klaus
Hi link76,

please check these stacks to get the basics of LiveCode:
http://www.runrev.com/developers/lesson ... nferences/

Code: Select all

...
put "valueA|valueB|valueC" into notes
set itemDelimiter to "|"

repeat with i = 1 to the num of items of notes
  ## do something with "item i of notes"
end repeat
...
Best

Klaus