LuaScript Xojo and Real Studio Plugin

LuaScriptContext.GetGlobalInteger Method (console safe)

Gets a global integer variable by name.

GetGlobalInteger(
   name as String) as Integer

Parameters

name
Name of the variable to get

Returns

Integer
The value of the variable

Remarks

See Also

LuaScriptContext Class