[server] using STACKS within ON-REV

Martin Koob mkoob at rogers.com
Tue Aug 2 11:12:28 EDT 2011

I was able to get the command 'go stack' to work.

>From the 4.6.3 release notes:

The go stack command is also valid:
go stack "<path to stack>"
Here, the newly loaded stack will sit in front of the home stack and will be
sent the standard initialisation messages (preopenstack, openstack etc).

I created a stack called gotostack.livecode and I put an openstack handler
in the stack script.

on openstack
   put "<p>gotostack is opened</p>"
end openstack

In another file I use the go stack command.

<?lc go stack "gotostack.livecode"?>

This works, the text "gotostack is opened"  is output to the browser output.

View this message in context: http://runtime-revolution.278305.n4.nabble.com/server-using-STACKS-within-ON-REV-tp3710035p3712679.html
Sent from the Revolution - User mailing list archive at Nabble.com.

More information about the Use-livecode mailing list