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 insert delete names comp dot size {}

Function: append
Description: Appends an object to the specified list. If the appended object is temporary, the component gets the name el<position>. If the first argument is not a list, it will be changed to a list with itself as first component.

Usage: append (l, x)
Input:
l list
x object

Note:

Example:

v = 1:3
append (v, 100)
array = 1:2 ~ 3:4
append(v, array)
v
Result:

Content of v.v
[1,]        1 
[2,]        2 
[3,]        3 
Content of v.el2
[1,]      100 
Content of v.array
[1,]        1        3 
[2,]        2        4 

Group: Matrix Manipulation
Topic: Sorting and Counting
See also: list insert delete names comp dot size {}

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