list.insert
Syntax
- lret := list.insert(l,i,a)
Inserts the single parameter a before index i in list l and returns the new list. If i is less than 1 the value will be prepended. If i is greater than the size of list l then the value will be appended.
If you wish to insert multiple values at once from a list or other iterable type, see
list.insert.list
.
Was this helpful? ... | Itasca Software © 2024, Itasca | Updated: Oct 31, 2024 |