Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

scriptcase transforming local to global variable

Note 1: A local variable can be a global variable if you use sc_set_global
$var3 = 'testing';                          // var3 is a local variable
sc_set_global($var3);                    // transforming var3 in a global variable
echo [var3] ." global variables";       // Now we can call [var3] in any other event
Source by www.scriptcase.net #
 
PREVIOUS NEXT
Tagged: #scriptcase #transforming #local #global #variable
ADD COMMENT
Topic
Name
5+6 =