Next: Data Type Generic Record Front Functions, Previous: Data Type Specific Arithmetic Record Functions, Up: The Record Library [Index]
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.
void r_add(record r, text s,);
inserts data of the type and value described by the last argument in the s position in the r record if r does not map s, does nothing otherwise
void r_bind(record r, text s,);
replaces data in the s position in the r record with a reference to or a copy of the data described by the last argument (references are made where data types allow)
object r_case(record r, text s,);
is the data in the s position in the r record, as inserted or replaced by the function with a reference to or a copy of the data described by the last argument (references are made where the data types allow)
void r_dock(record r, text s,);
inserts a reference to or a copy of the data described by the last argument in the s position in the r record if r does not map s, does nothing otherwise (references are made where data types allow)
record r_fit(record r, ...);
is r, inserts data of the types and values described by the every second optional argument in the positions indicated by the preceding optional arguments in the r record. It faults if one of the insert positions is taken, with data already inserted remaining.
void r_fix(record r, text s,);
inserts or replaces data in the s position in the r record with data of the type and value described by the last argument
object r_gauge(record r, text s, object o);
is the data in the s position in the r record if any, o otherwise
object r_get(&, record r, text s);
is the data in the s position in the r record, sets the first argument as the same data (data is linked if allowed, copied otherwise)
integer r_jack(&, record r, text s);
is 0 if the r record does not map s or if the data in the s position is not of the same type as the first argument, non zero otherwise. Sets the first argument as the data in the s position for the latter case (data is linked if allowed, copied otherwise).
void r_link(record r, text s,);
inserts a reference to or a copy of the data described by the last argument in the s position in the r record (references are made where data types allow)
integer r_over(&, record r, text s);
is 0 if the r record does not map s or if the data in the s position is not of the same type as the first argument, non zero otherwise. Sets the first argument as the data in the s position for the latter case and removes s from r.
object r_pick(record r, text s);
is the data in the s position in the r record, the data is removed from the record
void r_put(record r, text s,);
inserts data of the type and value described by the last argument in the s position in the r record
object r_query(record r, text s);
is the data in the s position in the r record
void r_replace(record r, text s,);
replaces data in the s position in the r record with data of the type and value described by the last argument
record r_tie(record, ...);
is r, inserts references to or copies of data of the types and values described by the every second optional argument in the positions indicated by the preceding optional arguments in the r record. it faults if one of the insert positions is taken, with data already inserted remaining.
object r_yank(&, record r, text s);
is the data in the s position in the r record, sets the first argument as the same data and removes s from r
object ro_case(record r, object o,);
is the data in the o position in the r record, as inserted or replaced by the function with a reference to or a copy of the data described by the last argument (references are made where the data types allow), with o an intrinsic string
object ro_query(record r, object o);
is the data in the o position in the r record, with o an intrinsic string or a byte array