|
|
 |
 |
Btrieve Key types
| 00 - string |
Ascii characters evaluated from left to right.
|
| 01 - integer |
Standard Intel Integer evalueated a byte at a time from right to left.
Even Number of bytes. Unsigned?
|
| 02 - float |
IEEE standard floating point. Same as Microsoft C floating point. 4 / 8
bytes.
|
| 03 - date |
Four bytes (similar to AR dtns structure:
- 2 bytes - year
- 1 byte - month
- 1 byte - day
|
| 04 - time |
4 Bytes:
- hour
- minutes
- second
- hundredth
|
| 05 - decimal |
Packed decimal format. COMP-3 of COBOL
last Hex digit is sign (F/C positive, D negative).
|
| 06 - money |
same as decimal.
|
| 07 - logical |
One or two bytes. Collated as strings.
|
| 08 - numeric |
ASCII string, right justified with leading zeroes. Last digit includes sign
- positive last digit = digit + 'B' - '1'
- negative last digit = digit + 'K' - '1'
|
| 09 - bfloat |
Microsoft Basic floating point number. 4 or 8 bytes.
|
| 10 - lstring |
Pascal string. First byte is length.
|
| 11 - zstring |
C string zero terminated.
|
14 - unsigned binary (old binary type) |
Even number of byte from right to left. Unsigned.
|
| 15 - autoincrement |
A 2 0 4 bytes integer. Sorted by absolute value. Negative values are
acceptable.
|
|
|