up previous next
Insert

insert an object in a list

Syntax
Insert(V:LIST,N:INT,E:OBJECT):NULL

where V is a variable containing a list.

Description
This function inserts E into the list L as the N-th component.

Example
L := ["a","b","d","e"];
Insert(L,3,"c");
L;
["a", "b", "c", "d", "e"]
------------------------------- 


See Also