Function; setglobal - HWRM/KarosGraveyard GitHub Wiki

setglobal(<sVariableName>, <Value>)

Description

(from LUA 4 Manual: 6.1 Basic Functions)

"Sets the named global variable to the given value, or calls a tag method for 'setglobal'. Its full semantics is explained in Section 4.8. The string name does not need to be a syntactically valid variable name."

Example

Arguments

<sVariableName>: the name of the global variable.
<Value>: the value to set the global variable to.

Related Functions

Function Reference

LUA 4 Manual: 6.1 Basic Functions

Comments

Page Status

Updated Formatting? Initial
Updated for HWRM? Initial

⚠️ **GitHub.com Fallback** ⚠️