Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (T-V)
Guardian Procedure Calls Reference Manual522629-013
15-26
UNPACKEDIT Procedure
UNPACKEDIT Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Consideration
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
Syntax for TAL Programmers
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.
#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 ] );
UNPACKEDIT ( packed-line ! i
,packed-length ! i
,unpacked-line ! o
,unpacked-limit ! i
,unpacked-length ! o
,[ spacefill ] ! i
,[ full-length ] ); ! i