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


13.3.8 Data Type Generic List Functions

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

See The Object Type.

See Referable Objects.

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)

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)

l_get

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

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

l_jack

integer l_jack(&, list 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_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_reap

list l_reap(list l, integer p, &...);

is l, sets in order each of the unnamed arguments with the data removed from the position p

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

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

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

lo_bind

object lo_bind(list l, object o,);

is the data in the o 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), with o of an intrinsic integral type

lo_query

object lo_query(list l, object o);

is the data in the o position in the l list, with o of an intrinsic integral type


Next: Data Type Generic List Front Functions, Previous: Data Type Specific List Back Functions, Up: The List Library   [Index]