Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (P)
Guardian Procedure Calls Reference Manual—522629-013
12-3
PACKEDIT Procedure
PACKEDIT Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Considerations
Related Programming Manual
Summary
The PACKEDIT procedure converts a line image from unpacked format into EDIT 
packed line format.  The input value is a text string that can include sequences of blank 
characters; the returned value is the same text in packed format with blank 
compression codes.
PACKEDIT 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 
unpacked-line input
STRING .EXT:ref:*
is a string array that contains the line in unpacked format that is to be converted. 
The length of 
unpacked-line is specified by the unpacked-length parameter.
#include <cextdecs(PACKEDIT)>
void PACKEDIT ( char *unpacked-line 
 ,short unpacked-length 
 ,char *packed-line 
 ,short packed-limit 
 ,short *packed-length 
 ,[ short full-length ] );
CALL PACKEDIT ( unpacked-line ! i
 ,unpacked-length ! i
 ,packed-line ! o
 ,packed-limit ! i
 ,packed-length ! o
 ,[ full-length ] ); ! i










