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


13.5.17 Record Visiting Functions

The variadic arguments are passed by reference where possible. A shallow copy (with data linked for referable objects) is made before and used for traversal (so that data seen by the called function is what existed when the traversal began).

r_ucall

void r_ucall(record r, object o, integer p, &...);

calls the function indicated by o for each element in the r record, with the unnamed arguments and the element data inserted in position p in between the unnamed arguments

r_vcall

void r_vcall(record r, object o, integer p, &...);

calls the function indicated by o for each element in the r record, with the unnamed arguments and the element position inserted in position p in between the unnamed arguments

r_wcall

void r_wcall(record r, object o, integer p, integer q, &...);

calls the function indicated by o for each element in the r record, with the unnamed arguments and the element position and data inserted in positions p and q in between the unnamed arguments (q is intepreted after the p insertion)