function for listing all objects in a stack.

Andre Garzia soapdog at mac.com
Fri Jan 16 10:08:00 EST 2004


On Jan 16, 2004, at 6:18 AM, shishilite at hotpop.com wrote:

> This should work. Put this function in the stack script.
>
> To list all fields in a stack:
>
> function listFields
>    put the cardNames of this stack into myCardNames
>   repeat for each line thisLine in myCardNames
>     repeat with x=1 to the number of controls on cd thisLine
>       if word 1 of the the long name of control x is "field" then
>         put the long name of control x & cr after myFields
>       end if
>     end repeat
>   end repeat
>   return myFields
> end listFields
>
> Shishi


Thanks! Thanks! Thanks!!!!!

Cheers
Andre

PS: Thanks!


>
> On 16/1/04 5:59 PM, "Andre Garzia" <soapdog at mac.com> wrote:
>
>> Hi Folks,
>>
>> It's late here 5:58 AM, i didn't sleep yet... I can't think on a way 
>> to
>> list all objects in a stack.
>> Actually I want to list all fields in a stack.. anyone here got a 
>> quick
>> function for that?
>>
>> Cheers
>> Andre Garzia ð 2003
>> imac2 ibook p100 e uma torradeira....
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
Andre Garzia ð 2003
imac2 ibook p100 e uma torradeira....



More information about the use-livecode mailing list