repeat repeat

liamlambert liamlambert at mac.com
Wed Mar 1 19:43:24 EST 2006


My fld "seatNo" has more than one line or item
I want to repeat the code below for each line or item


on mouseUp
   put fld "seatNo" into tseatNo
  repeat with x = 1 to the number of buttons
  if tseatNo = the label of button x then
       set the backgroundcolor of  button x to red
   end if
   end repeat
     end mouseUp

Liam Lambert
liamlambert at mac.com
IRELAND





More information about the use-livecode mailing list