Utils.Globals module

Additional lua globals

Functions

STDLIB.install_table() install the Table library into global table
STDLIB.install_math() Install the Math library into global math
STDLIB.install_string() Install the string library into global string
STDLIB.install_global_utils() Install Math, String, Table into their global counterparts.
STDLIB.reload_class() Reload a required file, NOT IMPLEMENTED
STDLIB.create_stdlib_globals([files]) load the stdlib into globals, by default it loads everything into an ALLCAPS name.

Functions

# STDLIB.install_table()

install the Table library into global table

# STDLIB.install_math()

Install the Math library into global math

# STDLIB.install_string()

Install the string library into global string

# STDLIB.install_global_utils()

Install Math, String, Table into their global counterparts.

# STDLIB.reload_class()

Reload a required file, NOT IMPLEMENTED

# STDLIB.create_stdlib_globals([files])

load the stdlib into globals, by default it loads everything into an ALLCAPS name.

Alternatively you can pass a dictionary of [global names] -> [require path].

Parameters:
  • files : (table) (optional)
Usage:
STDLIB.create_stdlib_globals()