next up previous
Next: Table update Up: The primitive commands Previous: Table search

Table read

create_format(TableName,Format,^InternalFormat, ^Status)
transforms a specified format into an internal format.
read_record(TableName,InternalFormat,AccessType,^VLstream, ^Status)
reads all the records in a table or of a set according to "AccessType" in a specified format and returns pairs of RID element and value list in "VLstream". The contents of "VLstream" will be buffered, i.e. if "VLstream" is unified with a list cell whose elements are variables, a certain number of records are processed and the variables are unified with the values of the records.
If all the records are read normally, "Status" will become normal and "Buffer" will become end.