get values from a stack

Klaus Major klaus at major-k.de
Fri Jan 13 16:57:42 EST 2006


Hi Peter,

> I thought I remembered that one could get values from fields of a  
> stack without having to open (or go to) that stack.  Is this true?

Yes.

> I have a stack with data.  This stack is never displayed.  Do I  
> have to "go invisible" to the stack before I can get the value of  
> fields in that stack?

No, you can query whatever you want from a stack by simply providing  
the pathname:

...
get fld 1 of cd 1 of stack "absolute/path/to/your/stack.rev"
...

Hope that helps.

> Peter T. Evensen
> http://www.PetersRoadToHealth.com
> 314-629-5248 or 888-628-4588

Best

Klaus Major
klaus at major-k.de
http://www.major-k.de




More information about the use-livecode mailing list