This is an old revision of the document!
⇐ Index
SetTableElement(<-table <-key <-value
Sets an element in a table. Note that keys are case sensitive strings. A special syntax can also be used to set a table element. See the example below.
CreateTable ->table SetTableElement(<-table "SomeKey" 42) trace(GetTableElement(<-table "SomeKey)) #prints "42" #alternate syntax #Use curly braces around to surround the key. 42 ->table{"SomeKey"}
⇐ Index