User Tools

Site Tools


prpl:insertlistelement

This is an old revision of the document!


<- PRPL reference <- Lists

InsertListElement

ArgumentsResultNotation
list int value [list int value-]

Description

Stores a value at the specified index of a list. The previously stored value, and all subsequent values have their indices shifted up by one.

Examples

Split("1,2,3,4,5,6" ",") ->list 
InsertListElement(<-list 3 "Spoon") 
Trace(<-list) 
prpl/insertlistelement.1480721630.txt.gz · Last modified: 2016/12/02 18:33 by 127.0.0.1