Field-Map Scripting

4.1.8.6 Value

Value property


Prototype:

property Value[const name: string]:

Description:

The Value property is a default property used to set a global variable and its value or to get a value of an existing global variable.

Syntax (get):

variable := Globals.Value[Name];

or

variable := Globals[Name];

Syntax (set):

Globals.Value[Name] := variable;

or

Globals[Name] := variable;


Part

Description


variable

A variable declared as a variant


Name

A string identifier of the desired global variable

Return value:

The value of the specified global variable as a variant




See also:

SetGlobalVariable; GetGlobalVariable; GlobalVariableExists; RemoveGlobalVariable; RemoveGlobalVariables; Value


Example