Functions
Fields

Functions

error_arguments(function)

Get a string of function arguments for error messages.

Parameters

function: arguments

Returns

A string of arguments and types.

check_table_for_keys(t, key)

Check that each item in a table contains a key.

Parameters

t: A table to check for keys.

key: The key to check tables for.

Returns

Boolean

clone_table(t)

Clone a table.

Parameters

t: The table to be cloned.

Returns

An idetical copy of the table.

save_file(filename, content)

Save a file.

Parameters

filename: The filenameto be saved.

content: The content of the file

Fields

epsilon

An arbitrarily small number useful for tollerances.

error_start

Start of an error message.