Module 00_init

Initialization of basic functions This file is always executed first.

Override Lua's upper and lower functions with our own, which is always UTF-8.

Functions

Trace (message) alias for lua.Trace
Warn (message) lua.Warn alias
print (message) lua.Trace alias
string:find_last (text) Find the last occurence of text in the string
math.round (n) Round to nearest integer.
split (delimiter, text) split text into a table by the delimiter
join (delimiter, list) table.concat alias


Functions

Trace (message)
alias for lua.Trace

Parameters:

Warn (message)
lua.Warn alias

Parameters:

print (message)
lua.Trace alias

Parameters:

string:find_last (text)
Find the last occurence of text in the string

Parameters:

Returns:

    int 0 if not found
math.round (n)
Round to nearest integer.

Parameters:

  • n number

Returns:

    number
split (delimiter, text)
split text into a table by the delimiter

Parameters:

Returns:

    table
join (delimiter, list)
table.concat alias

Parameters:

Returns:

    string
generated by LDoc 1.4.6 Last updated 2023-01-15 03:25:11