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


11.3.5 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

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

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

void l_bind(list l, integer p, object o);

replaces data in the p position in the l list with a reference to or a copy of the data described by the o object (references are made when the data type described by o allows)

See Referable Objects.

l_collect

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

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_extract

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

extracts the data in the p position in the l list in the first argument

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_link

void l_link(list l, integer p, object o);

inserts a reference to or a copy of the data described by the o object in the p position in the l list (references are made when the data type described by o allows)

See Referable Objects.

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, object o);

inserts data of the type and value described by the o object 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, object o);

replaces data in the p position in the l list with data of the type and value described by the o object


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