Accessing other stacks in LibCGI

Andre Garzia soapdog at mac.com
Thu Aug 19 14:52:41 EDT 2004


On Aug 19, 2004, at 3:24 PM, Terry Vogelaar (de Mare) wrote:

> I tried both of your solutions, but the problem doesn't seem to be 
> loading the stack into memory. The test function
> function functionInAgenda
>   return "Works!"
> end functionInAgenda
> indeed returned the string, although it was in the other stack. But 
> when I let the function return anything on a card, it refused.
>
> But what you wrote in the first line might solve the problem as well. 
> I don't really need to store this data in a stack! The content of 
> 'content' is more complex so I'd prefer to keep that in a stack, but 
> the agenda can be an external text file or a custom property.
>

Terry,

when you say doesn't work you mean return empty or trigger error?
Also check if the agenda stack is loaded, check if the card and the 
control you want is there... use the "there is a" function. Try 
refering them by the ID too...

cheers
andre




> Thanks.
-- 
Andre Alves Garzia ð 2004 ð BRAZIL
http://studio.soapdog.org



More information about the use-livecode mailing list