DATA
DATA
DATA value type
DATA[n]
A "packed hexadecimal
packed hexadecimal
" data block of n bytes, zero padded (not
space-padded). If n is omitted, the DATA is variable
length to the size needed to contain the result of the cast or passed
parameter. Type casting is allowed but only to a STRING or UNICODE of the
same number of bytes.
This type is particularly useful for containing BLOB (Binary Large
OBject) data. See the Programmer's Guide article Working with BLOBs for more information on this
subject.
Example:
DATA8 MyHexString := x'1234567890ABCDEF';
// an 8-byte data block - hex values 12 34 56 78 90 AB CD EF