repeat item

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
link76
Posts: 99
Joined: Fri Nov 04, 2011 1:52 pm

repeat item

Post by link76 » Fri Jul 13, 2012 12:36 pm

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


Klaus
Posts: 14198
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: repeat item

Post by Klaus » Fri Jul 13, 2012 12:42 pm

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

Post Reply