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


11.3.2 Data Type Specific List Functions

l_b_<type-name>

void l_b_<type-name>(list l, integer p, <type> d);

replaces data in the p position in the l list with a reference to the d data (the types of the replaced and replacing data do not have to match, the function applies only to data types allowing for multiple refereces)

See Referable Objects.

l_e_<type-name>

<type> l_e_<type-name>(<type> &d, list l, integer p);

is the data in the p position in the l list, sets d as the same data (assumed of the <type> data type) and removes it from the list

l_g_<type-name>

<type> l_g_<type-name>(<type> &d, list l, integer p);

is the data in the p position in the l list, sets d as the same (data is linked if allowed, copied otherwise, data assumed of the <type> data type)

l_i_<type-name>

<type> l_i_<type-name>(<type> &d, list l, integer p);

is the data in the p position in the l list, sets d as the same (conversions between intrinsic numerical types are performed, <type> is one of them)

l_l_<type-name>

void l_l_<type-name>(list l, integer p, <type> d);

inserts a reference to the d data in the p position in the l list (the function applies only to data types allowing for multiple references)

See Referable Objects.

l_n_<type-name>

<type> l_n_<type-name>(list l, integer p);

is (new) data of the <type> data type and some <type> data type specific default value in the p position in the l list (data is created by the function call)

l_p_<type-name>

void l_p_<type-name>(list l, integer p, <type> d);

inserts data of the <type> data type and d value in the p position in the l list

l_q_<type-name>

<type> l_q_<type-name>(list l, integer p);

is the data in the p position in the l list (assumed of the <type> data type)

l_r_<type-name>

void l_r_<type-name>(list l, integer p, <type> d);

replaces data in the p position in the l list with some data of the <type> data type and d value (the types of the replaced and replacing data do not have to match)

l_s_<type-name>

integer l_s_<type-name>(list l, integer p);

is non zero if the data in the p position in the l list is of the <type> data type, zero if it is not

l_x_<type-name>

<type> l_x_<type-name>(list l, integer p);

is the data in the p position in the l list (assumed of the <type> data type), the data is removed from the list

l_y_<type-name>

<type> l_y_<type-name>(list l, integer p);

is the data in the p position in the l list (conversions between intrinsic numerical types are performed, <type> is one of them)


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