rocinantealpha

reference / tables

keys

The names in a table, as a list of text, in the order they were put: for each name in (keys counts) [ ... ].

counts = tableput counts "cat" 2put counts "owl" 1for each name in (keys counts) [ print name ]

It prints

cat
owl

How to write it

keys table

Gives a list.

Related