Referencing

Glen Bojsza gbojsza at gmail.com
Tue Jun 14 16:24:06 EDT 2005


Hi,

I have a field that contains a list of several fields that I want to
do a line count on.

FIELD UPDATELIST
fld "exportdata" of stack "map"
fld "sitename" of stack "map"
...
...

In my script I want to get the number of lines that each field currently has

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

The result I get is
1

Obviously I thought that this would be the same as

put the number of lines in fld "exportdata" of stack "map"
etc

Any ideas where my logic has gone off?

thanks


More information about the use-livecode mailing list