User Tools

Site Tools


binary_memo_contains_binary_data_.htm
Navigation:  Language Reference > 5 - Declaration Attributes > Variable and Entity Attributes >====== BINARY (memo contains binary data) ====== Previous pageReturn to chapter overviewNext page

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

binary_memo_contains_binary_data_.htm.txt · Last modified: 2021/04/15 15:56 (external edit)