Comet 32 Runtime
|Introduction||IB Statements||File System||Compiler||Applications||Reference Guide||Index|
|Overview||Keyed Files||Indexed Sequential Files||Text Files||Record Types||File I/O Operations|
Image record storage of strings always takes more space than non-image records.
Image fields are not stored with a decimal point; it is implicit when the field is defined in a program. Also, the sign of a numeric field stored in image format is placed in the lower half byte of the last byte in the field. A hex value of 3 in this position indicates a positive number, a 5 indicates a negative number.
To calculate the length of an image field, divide the defined field length by 2, round off the result (if necessary), and add 1.
For example, a numeric field named CRLIMIT, with a defined length and precision of 6.0, would take four bytes of disk space in image format.