Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Group: Matrix Manipulation
Topic: Sorting and Counting
See also: list append delete names

Function: insert
Description: inserts an object to the specified position within a list.

Usage: insert (l, pos, x)
Input:
l list
pos integer
x object

Note:

Example:

l = list (1, 2)
insert (l, 2, 44)
l
Result:

Contents of l.el1
[1,]        1 
Contents of l.el2
[1,]       44 
Contents of l.el2
[1,]        2 

Group: Matrix Manipulation
Topic: Sorting and Counting
See also: list append delete names

Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

(C) MD*TECH Method and Data Technologies, 17.8.2000