DECOMPRESS
8.5C
The DECOMPRESS instruction expands the logical string from a source variable into a destination variable. The instruction uses the following format:
|
|
|
|
|
Where:
label
Optional. A Program Execution Label.
source
Required. A previously defined Character String Variable that contains the input string that is decompressed.
sep
Required. A comma or one of the following prepositions: BY, TO, OF, FROM, USING, WITH, IN, or INTO.
dest
Required. A previously defined character variable that receives the decompressed data.
Flags Affected: EQUAL, EOS, OVER
Note the following:
Only the Logical String of the {source} variable is decompressed.
The EOS flag is set when the {dest} variable is too small to receive all of the decompressed data. In this case, the {dest} variable is set to a Null String.
The EQUAL flag is set if the {source} variable was successfully decompressed and stored into {dest}.
The OVER flag is set if a recoverable decompression error occurs.
A U42 error occurs if an internal error occurs.
See Also: Example Code, COMPRESS, Character String Instructions
![]() |