variable_global_get(name)

From ENIGMA
Jump to navigation Jump to search

Description

Gets the value of the global variable and returns the result.

Parameters

Parameter Data Type Description
name string name of the global variable

Return Values

variant: Returns the value of the global variable.

Example Call

// demonstrates obtaining the value of global.cat
var val;
val = variable_global_get("cat");