User Tools

Site Tools


4rpl:commands:insertlistelement

Index
Lists

InsertListElement

InsertListElement(<-list 3 <-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.

Note that insertion beyond the current list size is not supported. Use AppendToList or Pushlist in that instance.

Examples

Split("1,2,3,4,5,6" ",") ->list
InsertListElement(<-list 3 "Spoon")
Trace(<-list)

Index

4rpl/commands/insertlistelement.txt · Last modified: 2021/12/10 09:14 by Karsten75