Testasd » History » Revision 54
Revision 53 (Per Amundsen, 02/07/2023 12:02 PM) → Revision 54/73 (Per Amundsen, 02/07/2023 02:46 PM)
h1. Multidimensional arrays */marray -a <name> [N..] <type> <item> <key/label/item> <value>* add item */marray -e <name> [N..] <N> <type> <item> <key/label/item> <value>* edit item */marray -i <name> [N..] <N> <type> <item> <value>* insert item */marray -d <name> [N..] <N>* delete item */marray -f <name>* delete/free table *$marray(name, N, [N..])* gets the Nth item in a table, subsequent N parameters gets the Nth item from a sub table, infinite sub depth. *Switches* .item - Get item. item key/label/item. .value - Get item value. .type - Get item type. (0 = text, 1 = number, 2 = bool, 3 = bvar, 4 = sub table) .json - TODO, generate a json table from all items in the table and all sub tables' .ini - ?