Next: , Previous: , Up: The List Library   [Index]


13.3.6 Data Type Generic List Functions

Parameters of ‘object’ type may be substituted in function calls by data of any type.

See The Object Type.

l_bill

list l_bill(list l, integer p, ...);

is l, inserts data of the types and values described by the optional arguments in the p and subsequent positions in the l list, in the order in which data appears

l_bind

object l_bind(list l, integer p,);

is the data in the p position in the l list, as replaced by the function with a reference to or a copy of the data described by the last argument (references are made where data types allow)

See Referable Objects.

l_collect

list l_collect(list l, integer p, ...);

is l, inserts references to or copies of data of the types and values described by the optional arguments in the p and subsequent positions in the l list, in the order in which data appears (references are made when the data types allow)

See Referable Objects.

l_get

void l_get(&, list l, integer p);

sets the first argument as the data in the p position in the l list (data is linked if allowed, copied otherwise)

l_jack

integer l_jack(&, index l, integer p);

is 0 if the l list is too short for a p position or if the data in the p position is not of the same type as the first argument, non zero otherwise. Sets the first argument as the data in the p position for the latter case (data is linked if allowed, copied otherwise).

l_link

void l_link(list l, integer p,);

inserts a reference to or a copy of the data described by the last argument in the p position in the l list (references are made where data types allow)

See Referable Objects.

l_over

integer l_over(&, index l, integer p);

is 0 if the l list is too short for a p position or if the data in the p position is not of the same type as the first argument, non zero otherwise. Sets the first argument as the data in the p position for the latter case and removes it from the list.

l_pick

object l_pick(list l, integer p);

is the data in the p position in the l list, the data is removed from the list

l_push

void l_push(list l, integer p,);

inserts data of the type and value described by the last argument in the p position in the l list

l_query

object l_query(list l, integer p);

is the data in the p position in the l list

l_replace

void l_replace(list l, integer p,);

replaces data in the p position in the l list with data of the type and value described by the last argument

l_yank

void l_yank(&, list l, integer p);

sets the first argument as the data in the p position in the l list and removes it from the list


Next: , Previous: , Up: The List Library   [Index]