Repeat question

Steve Jones stevejones at mac.com
Tue May 4 14:15:39 EDT 2010


An area I never mastered with SuperCard and still have trouble with in RR is using the repeat control structure...

I want to check every field on a card before it closes to be sure none are EMPTY.

I know the structure would be

REPEAT for the number of fields on the card
   if field 1 is empty
      put up an alert
   else
      go to next field
   end if
end repeat

or something similar.

How do I refer to the fields?  Their IDs aren't sequential and there names aren't "numbered".

Thanks!

Steve




More information about the use-livecode mailing list