Forked from
tome / Tales of MajEyal
3692 commits behind the upstream repository.
-
Hachem_Muche authored
string.fromFunction(fct, fmt) returns a string abbreviation for a function, including filepath, line numbers string.fromValue(v, recurse, offset, prefix, suffix) -- enhancement of tostring function with more thorough handling of tables and functions string.fromTable(src, recurse, offset, prefix, suffix, key_recurse): returns a single-line string representation of a table, including string representations of subtables and functions. The recursion level for both keys and values can be set. The converted string is lua source code compatible, depending on arguments.
Hachem_Muche authoredstring.fromFunction(fct, fmt) returns a string abbreviation for a function, including filepath, line numbers string.fromValue(v, recurse, offset, prefix, suffix) -- enhancement of tostring function with more thorough handling of tables and functions string.fromTable(src, recurse, offset, prefix, suffix, key_recurse): returns a single-line string representation of a table, including string representations of subtables and functions. The recursion level for both keys and values can be set. The converted string is lua source code compatible, depending on arguments.
DebugConsole.lua 17.61 KiB