Re: Variable scope in Server mode

2013-08-28 Thread Christer Pyyhtiä
A further question: - when you connect the server, and set a global variable into a value (e.g. put true into gVar), and your device after a few commands contacts the server / same script again, is gVar still true or empty? ___ use-livecode

Re: Variable scope in Server mode

2013-08-28 Thread Richard Gaskin
Christer Pyyhtiä wrote: - when you connect the server, and set a global variable into a value (e.g. put true into gVar), and your device after a few commands contacts the server / same script again, is gVar still true or empty? Any CGI process is launched, runs, and quits with each

Variable scope in Server mode

2013-08-27 Thread Alex Tweedly
I don't understand the scope rules for variables in LCServer (either that or I've found a bug that is confusing me :-) I expected that variables which were (implicitly) declared and set within a script would be available within that script, and within handlers of that script (i.e. like

Re: Variable scope in Server mode

2013-08-27 Thread Martin Koob
.nabble.com/Variable-scope-in-Server-mode-tp4669166p4669175.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your