Function; globals - HWRM/KarosGraveyard GitHub Wiki

globals(tTable)

Description

(from LUA 4 Manual: 6.1 Basic Functions):

"Returns the current table of globals. If the argument <tTable> is given, then it also sets this table as the table of globals."

This global table contains every available stock function for the scope in which you ran globals. As such it can be used to discover undocumented functions (for example a number were found already for sobgroups).

Example

We can print this entire table using printTbl:

-- print the full table of globals:
printTbl(globals(), "all globals");

Arguments

None.

Related Functions

Function Reference

LUA 4 Manual: 6.1 Basic Functions

Comments

Page Status

Updated Formatting? Initial
Updated for HWRM? Initial

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