removeGlobalValue()
Previous Top Next
removeGlobalValue( varName )
This function removes a global variable from memory. Global variables are accessible to other scripts running in other charts.
Parameters
Usage
Previous Top Next
removeGlobalValue( varName )
This function removes a global variable from memory. Global variables are accessible to other scripts running in other charts.
Parameters
varName |
the name that was assigned to the global variable |
Usage
function main() {
var myVar;
...
...
myVar = getGlobalValue( "myStatus" );
if ( myVar != null ) {
removeGlobalValue( "myStatus" );
}
}