SetGlobal (deprecated)

Category: Variables
Since engine version: 4.6.5.0 CP (extended in 4.9.1.0 GWE)

Description

Sets a Global variable and returns the set value if successful (0 otherwise).

Syntax

any& SetGlobal (int iVarIndex, any Value);

Parameters

iVarIndex:
Index of the variable to be accessed. Any non-negative number is allowed.
Value:
New value of the variable.

Remark

Instead of SetGlobal the notation Global(x) = y should be used to access global variables.

Changelog

Date Author Version Description
24th December 2022 Funni unknown Deprecated: Instead of SetGlobal the notation Global(x) = y should be used to access global variables.
See also: Global, GlobalN, Local, LocalN, SetLocal, SetVar, Var, VarN
jwk, August 2002
Funni, 24th December 2022