UNPAK

Decompress numeric data

WTSupported in traditional Synergy on Windows

 

USupported on UNIX
VSupported on OpenVMS
Note

The UNPAK routine is deprecated; we recommend you use the p data type instead of PAK and UNPAK. See Packed and implied-packed for information on the p data type.

xcall UNPAK(record, field[, ...])

Arguments

record

The record that contains the compressed fields. (a)

field

One or more decimal fields to be restored. These fields must exist in the record and must be listed in ascending order as they appear in the record. (d)

Discussion

The UNPAK subroutine restores numeric data that has been compressed by the PAK subroutine.

Each packed field has the following length:

(number of characters/2) + 1

Examples

See PAK Examples.