[server] using STACKS within ON-REV
mkoob at rogers.com
Wed Aug 3 11:24:40 EDT 2011
Hi I just tested it on On-re server and stacks work
I have a stack called 'libstackmain.livecode' with the following in the
I have a stack called 'gotostack.livecode' with one card "card 1002' and the
put "<p>gotostack is opened</p>"
card 1002 script
put "<p>this is the card's openstack handler speaking</p>"
put "<p>the card is now open</p>"
I then have a .lc file called 'testLivecodeserver.lc which has the following
mix of html and <?lc ?> code blocks
<?lc start using stack "libstackmain.livecode" ?>
<p> <?lc put "Hello World, the time is" && the time ?> </p>
<p><?lc put "My name is" && whatismyname() ?>
<?lc go stack "gotostack.livecode"?>
The above files are all in the main directory.
This is the output when I load the testLivecodeserver.lc file in the
Hello World, the time is 10:14 AM
My name is martin
this is the card's openstack handler speaking
gotostack is opened
the card is now open
See if this works.
View this message in context: http://runtime-revolution.278305.n4.nabble.com/server-using-STACKS-within-ON-REV-tp3710035p3715876.html
Sent from the Revolution - User mailing list archive at Nabble.com.
More information about the Use-livecode