Next: Non Data Type Specific Byte Data Record Functions, Previous: Record Search Interface, Up: The Record Library [Index]
record r_cast(record r, record z);
is r, empties the r record and links or copies the content of the t record in r (data references are made where the types allow, copies where not)
record r_clear(record r);
is r, empties the r record
record r_copy(record r, record z);
is r, empties the r record and copies the content of the z record in r
record r_delete(record r, text s);
is r, deletes the s indexed element of the r record
void r_down(record r, text s);
decrements the s indexed element in the r record (the element type is intrinsic numerical)
record r_drop(record r, text s);
is r, deletes all the elements of the r record corresponding indeces prefixed by s
record r_erase(record l, text s, text t);
is r, deletes the s to t indexed elements of the r record. If t indicates an element prior to s no element is removed from r.
integer r_id(record r, text s);
is the type ID of the s indexed element in the r record
integer r_key(record r, text s);
is non zero if the r record defines a s position, 0 otherwise
void r_move(record r, text s, text t);
moves the s indexed element of the r record in the t position
text r_net(record r, text s);
is s if the r record does not map s or if the data in the s position is not of the intrinsic string type, the data in the s position otherwise
void r_new(record &r);
sets the r record as a new record (same as ‘r_clear’ if r is not linked multiple times, otherwise creates a new record and sets r as a reference to the new record)
recird r_resign(record r, text s);
is r, deletes the s indexed element of the r record if r maps s, does nothing otherwise
record r_set(record &r, record z);
is z, sets the r record as a reference of the z record
integer r_size(record r);
is the size (i.e. number of items) of the r record
void r_spin(record r, text s, text t);
exchanges the s and t indexed elements in the r record
record r_swap(record r, record z);
is r, exchanges the content of the r and z records.
The function visits every item in the two collections.
text r_type(record r, text s);
is the type name of the s indexed element in the r record
void r_up(record r, text s);
increments the s indexed element in the r record (the element type is intrinsic numerical)
Next: Non Data Type Specific Byte Data Record Functions, Previous: Record Search Interface, Up: The Record Library [Index]