getVariable()

Method that retrieves the value currently stored in a variable.

Related Object: Boundaries.

getVariable(varName)

Retrieves the value currently stored in variable varName. If the variable does not exist, the value null is returned. It is considered good practice (almost mandatory, even!) to always check whether a variable is defined before attempting to access its value.

varName

String name of the variable from which the value is to be retrieved.

Example

 

 
  • Last Topic Update: 24/01/2017 09:32
  • Last Published: 7/6/2017 : 9:48 AM