Tables¶
Tables can be created using square brackets []
to delimit elements, separated by commas ,
. Tables can contain elements of different types.
Example:
This will create a table with integers, strings, booleans, and nil values. The show
keyword will display the table and remove it from the stack.
Tables are useful for storing collections of data and can be manipulated using various stack operations.