[back] [prev] [next] [index] [root]

 


Insert

Insert an element into a list at a given position.

Syntax:

Insert(L, a, pos);

list
  L  
arbitrary object
  a  
integer
  pos  

Description:

no detailed description available yet


Example:


kash> L := [1, 2, 3];
[ 1, 2, 3 ]
kash> Insert(L, 7, 1);
kash> L;
[ 7, 1, 2, 3 ]
kash> Insert(L, 8, 5);
kash> L;
> [ 7, 1, 2, 3, 8 ]


<- back[back] [prev] [next] [index] [root]