Guardian Procedure Calls Reference Manual

UNPACKEDIT Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Considerations
Summary
The UNPACKEDIT procedure converts a line image from EDIT packed line format into unpacked
format. The input value is a text string in packed format, which includes blank compression codes;
the returned value is the same text in unpacked format, which can include sequences of blank
characters.
UNPACKEDIT is an IOEdit procedure and is intended for use with files that have been opened by
OPENEDIT or OPENEDIT_.
Syntax for C Programmers
#include <cextdecs(UNPACKEDIT)>
void UNPACKEDIT ( const char *packed-line
,short packed-length
,char *unpacked-line
,short unpacked-limit
,short *unpacked-length
,[ short spacefill ]
,[ short full-length ] );
Syntax for TAL Programmers
UNPACKEDIT ( packed-line ! i
,packed-length ! i
,unpacked-line ! o
,unpacked-limit ! i
,unpacked-length ! o
,[ spacefill ] ! i
,[ full-length ] ); ! i
Parameters
packed-line
input
STRING .EXT:ref:*
is a string array that contains the line in packed format that is to be converted. The length of
packed-line is specified by the packed-length parameter.
packed-length
input
INT:value
specifies the length in bytes of packed-line. The packed-length must be in the range 1
through 256.
UNPACKEDIT Procedure 1439