Referencing

Björnke von Gierke bvg at mac.com
Tue Jun 14 17:09:56 EDT 2005


On Jun 14 2005, at 22:24, Glen Bojsza wrote:
> on mouseUp
> put fld UPDATELIST into uLists
> repeat for each line M in uLists
> put the number of lines in M
> end mouseUp

Instead try:

on mouseUp
   put fld "UPDATELIST" into uLists
   repeat for each line M in uLists
     put the number of lines in field M
   end repeat
end mouseUp

notice the "end repeat", and especially the "field" before the "M". 
Also you might want to try this instead, to see all fields one after 
another:

on mouseUp
   put ""
   put fld "UPDATELIST" into uLists
   repeat for each line M in uLists
     put M && the number of lines in field M & return after msg
   end repeat
end mouseUp


-- 

http://contest.wecode.org
Now running: the first ChatRev coding contest!
sponsors:
Altuit
Andre Garzia
Karl Becker
Runtime Revolution
TidBITS in cooperation with eHUG



More information about the use-livecode mailing list