getGlobalValue()

eSignal EFS

getGlobalValue()

 

getGlobalValue( varname )

 

  • varname: Name of global variable whose contents you wish to retrieve.

 

Access 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 );

}

 

removeGlobalValue()

setGlobalValue()