repeat repeat

liamlambert liamlambert at
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

More information about the Use-livecode mailing list