Field-Map Scripting

4.1.8.1 SetGlobalVariable

SetGlobalVariable procedure


Prototype:

procedure SetGlobalVariable(const name: string; value: variant);

Description:

Use the SetGlobalVariable to set a global variable by entering its name and value as the procedure parameters.

Syntax:

Globals.SetGlobalVariable(Name,Value);


Part

Description


Name

A string or a variable declared as a string which represents the name of the global variable


Value

Any variant value or a variable declared as a variant to become the value of the global variable

Return value:

none




See also:

SetGlobalVariable; GetGlobalVariable; GlobalVariableExists; RemoveGlobalVariable; RemoveGlobalVariables; Value


Example