removeGlobalValue()

eSignal EFS 2

removeGlobalValue()

Top  Previous  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" );

       }

 

 

}

 

getGlobalValue()

setGlobalValue()