Function; globals - HWRM/KarosGraveyard GitHub Wiki
(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).
We can print this entire table using printTbl
:
-- print the full table of globals:
printTbl(globals(), "all globals");
None.
LUA 4 Manual: 6.1 Basic Functions
Updated Formatting? Initial
Updated for HWRM? Initial