Global Addon
sprintf
string sprintf(fmt, ...)
(C-style) Format a string and return the result. This function is essentially just symbolic link to string.format() [1].
printf
printf(fmt, ...)
(C-style) Format and print a string. This acts much like io.write() except that it does not append the newline character (\n).
unpack2
table unpack2(...)
Takes a variable argument list and returns them as a table. That is, any arguments fed into this function become a list.
include
[variable result] include(string filename[, boolean force])
"include" (dofile) a file. If 'force' is false or ungiven, this will not include the same file multiple times. The returned value is whatever the file returns (if it is to be executed).
NOTE: This function modified the CWD, both before and after loading the target file.