Variable scope in Server mode

Martin Koob mkoob at rogers.com
Tue Aug 27 09:24:45 EDT 2013


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.

<?livecode 
local lang
put "123" into lang["a"] 
put "456" into lang["b"] 


Martin





--
View this message in context: http://runtime-revolution.278305.n4.nabble.com/Variable-scope-in-Server-mode-tp4669166p4669175.html
Sent from the Revolution - User mailing list archive at Nabble.com.




More information about the use-livecode mailing list