User Tools

Site Tools


4rpl:commands:setlistelement

This is an old revision of the document!


Index

SetListElement

SetListElement(<-list <-index <-value)

Description

Stores a value at the specified index of a list. The previously stored value is overwritten.

If a list is stored in a variable, this can be abbreviated to <-value ->list[<-index].

Examples

Split("1,2,3,4,5,6" ",") ->list
SetListElement(<-list 2 "G")
"R" ->list[4]
Trace(<-list)

Index

4rpl/commands/setlistelement.1610121708.txt.gz · Last modified: 2025/02/14 14:56 (external edit)