BINARY (memo contains binary data)

Top  Previous  Next

 

BINARY

The BINARY attribute (PROP:BINARY) of a MEMO or BLOB declaration specifies the MEMO or BLOB will receive data that is not just ASCII characters. This attribute is normally used to store graphic images for display in an IMAGE field on screen. OEM conversion is not applied to MEMO or BLOB fields with the BINARY attribute. Some file drivers (Clarion, Btrieve, xBase) assume that the data in a BINARY MEMO or BLOB field is zero-padded, while non-BINARY data is space-padded.

Example:

Names  FILE,DRIVER('Clarion'),PRE(Nam)

NbrKey  KEY(Nam:Number)

Picture MEMO(48000),BINARY     !Binary memo - 48,000 bytes

Rec      RECORD

Number    SHORT

        END

      END

See Also:

MEMO

BLOB

IMAGE

OEM