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

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 ma

Re: Variable scope in Server mode

2013-08-27 Thread Martin Koob
I think you have to declare the variable as a local first and then assign it. Then I think it will be available within subsequent handlers. ie. http://runtime-revolution.278305.n4.nabble.com/Variable-scope-in-Server-mode-tp4669166p4669175.html Sent from the Revolution - User mailing list archive