Category | Native procedure | |||
Format | (hb-addrecord dbname) | |||
Parameters |
|
|||
Description | hb-addrecord adds a new record to the HanDBase database dbname. All fields are initialized with default values. The return value is the new record number, which can be used in subsequent calls to hb-setfield to set the field values. | |||
R4RS Compliance | LispMe extension | |||
Examples |
|
Category | Native procedure | |||
Format | (hb-dir) | |||
Parameters | none | |||
Description | hb-dir utilizes the HanDBase API to create a list of strings naming all HanDBase databases. | |||
R4RS Compliance | LispMe extension | |||
Examples |
|
Category | Native procedure | |||
Format | (hb-info dbname) | |||
Parameters |
|
|||
Description | hb-info returns a list describing general
properties of the HanDBase database dbname.
The car of the
the list is the total number of records in the database. The
cdr is a list of field descriptions. Each field
description is a list of 6 components:
|
|||
R4RS Compliance | LispMe extension | |||
Examples |
|
Category | Native procedure | ||||||
Format | (hb-getfield dbname recnum fldnum) | ||||||
Parameters |
|
||||||
Description | hb-getfield retrieves the value of the field fldnum in record recnum in the HanDBase database dbname. Regardless of the field's internal "type", it is returned as a string. | ||||||
R4RS Compliance | LispMe extension | ||||||
Examples |
|
Category | Native procedure | ||||||
Format | (hb-getlinks dbname recnum fldnum) | ||||||
Parameters |
|
||||||
Description | hb-getlinks retrieves the record numbers of all records which are linked to from a record recnum in the HanDBase database dbname. The link field number is given by fldnum. The result is a list whose car is the name of the destination database as a string and whose cdr is a list of all record numbers in the destination database the record recnum is linked to. | ||||||
R4RS Compliance | LispMe extension | ||||||
Examples |
|
Category | Native procedure | ||||||||
Format | (hb-setfield dbname recnum fldnum obj) | ||||||||
Parameters |
|
||||||||
Description | obj is printed using display and the resulting string is used to update the field fldnum in record recnum in the HanDBase database dbname. The return value is the object obj itself. | ||||||||
R4RS Compliance | LispMe extension | ||||||||
Examples |
|
Category | Native procedure | |||
Format | (hb-version) | |||
Parameters | none | |||
Description | hb-version retrieves the version of HanDBase installed.
Possible return values are:
|
|||
R4RS Compliance | LispMe extension | |||
Examples |
|
Category | Native procedure | |||||||||||||||||||||||||||
Format | (hotsync-info) | |||||||||||||||||||||||||||
Parameters | none | |||||||||||||||||||||||||||
Description | hotsync-info returns detailed information about the
last HotSync as a list of 4 items:
|
|||||||||||||||||||||||||||
R4RS Compliance | LispMe extension | |||||||||||||||||||||||||||
Examples |
|
Back to index A B C D E F G H I J K L M N O P Q R S T U V W X Y Z Other