Field-Map Scripting

4.1.8.3 GlobalVariableExists

GlobalVariableExists function


Prototype:

function GlobalVariableExists(const name: string): boolean;

Description:

The GlobalVariableExists function is used to check whether or not a specified global variable exists. Note that even a global variable with a null value is an existing one.

Syntax:

Globals.GlobalVariableExists(Name);


Part

Description


Name

A string parameter specifying the name of the inspected global variable

Return value:

True if a global variable with a given name exists; otherwise false




See also:

SetGlobalVariable; GetGlobalVariable; GlobalVariableExists; RemoveGlobalVariable; RemoveGlobalVariables; Value


Example