User Tools

Site Tools


ixe:irpl:tables:settableelementrpn

SetTableElementRPN

SetTableElementRPN(<-value <-table <-key)

Description

Sets an element in a table. Note that keys are case sensitive strings.

For doing the same thing but with arguments in order of table, key, value, see SetTableElement.

A special syntax can also be used to set a table element. See the example below.

Examples

CreateTable ->table
SetTableElementRPN(42 <-table "SomeKey")
GetTableElement(<-table "SomeKey") Trace  # prints "42"
 
# alternate syntax
# Use curly braces around to surround the key.
42 ->table{"SomeKey"}
 
ixe/irpl/tables/settableelementrpn.txt · Last modified: 2025/02/14 14:57 by 127.0.0.1