This is a test of the Pico-8 Highlighting Documentation for HTML use.
Click on any of the sections below to expand or collapse their contents.

QUICK DISPLAY CONTROLS: Categories · Sections · Everything ·

General

print_table(table)

This script will print the contents of any preexisting table, including any named keys, inner tables or functions.

-- Test of print_table()
local t = {}
t.x = 63
t.bool = false
t.printx = function(self)
 print(self.x)
end

print_table(t)