User Tools

Site Tools


prpl:setlistelement

<- PRPL reference <- Lists

SetListElement

ArgumentsResultNotation
list position value [ list int 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) 
prpl/setlistelement.txt · Last modified: 2017/08/30 08:44 by kajacx