returning result from a function when the number of items in the result varies
stephenREVOLUTION2 at barncard.com
Sun Sep 21 11:34:35 CDT 2008
The results in examples 1 and 2 were incorrect.
put myArray  & return into toadMeatList
put myArray  & return after toadMeatList
put myArray  after toadMeatList
or in a "regular" loop
put "1,2,5" into orderList
repeat with n = 1 to numLines
put myArray[n] & return after toadMeatList
>It's not a list! It's an array.
>It's not THE NUMBER OF LINES in myArray.
>it's the number of lines in the KEYS of myArray. Big difference.
>I'll build a silly array here:
s a n f r a n c i s c o
- - - - - - - - - - - -
More information about the use-livecode