setGlobalValue()
setGlobalValue( varname, value )
- varname: Name of global variable to set.
- value: Value to set.
Set a true global variable. Global variables are accessible by all running EFS scripts.
Example:
var vValue = getGlobalValue( "mycounter" );
if (vValue != null) {
setGlobalValue( "mycounter", vValue + 1 );
}
else {
setGlobalValue( "mycounter", 1 );
}