Accessing other stacks in LibCGI

Andre Garzia soapdog at
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.


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...


> Thanks.
Andre Alves Garzia ð 2004 ð BRAZIL

More information about the Use-livecode mailing list