Testasd » History » Revision 47
Revision 46 (Per Amundsen, 02/07/2023 09:19 AM) → Revision 47/73 (Per Amundsen, 02/07/2023 09:19 AM)
h1. Multidimensional arrays
*/marray -a <name> <type> <key> <value>*
add item
*/marray -e <name> <N> <type> <key> <value>*
edit item
*/marray -d <name> <N>*
delete item
*/marray -f <name>*
delete/free table
*$marray(name, N, [N..])*
get the Nth item in a table, subsequent N parameters gets the Nth item from a sub array, infinite sub depth.
*Switches*
.key - Get item key.
.value - Get item value.
.type - Get item type. (0 = text, 1 = number, 2 = bool, 3 = bvar, 4 = sub marray)