Guardian Procedure Calls Reference Manual
READEDIT Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Returned Value
Example
Related Programming Manual
Summary
The READEDIT procedure reads one line from a specified EDIT file and returns it to the caller in
unpacked format.
READEDIT is an IOEdit procedure and can only be used with files that have been opened by
OPENEDIT or OPENEDIT_.
Syntax for C Programmers
#include <cextdecs(READEDIT)>
short READEDIT ( short filenum
,[ __int32_t *record-number]
,char *unpacked-line
,short unpacked-limit
,short *unpacked-length
,[ reserved parameter: ignored ]
,[ short spacefill ]
,[ short full-length] );
• The sixth parameter to READEDIT is reserved for internal use. You must supply a placeholder
comma for this parameter when using the parameters that follow it.
Syntax for TAL Programmers
error := READEDIT ( filenum ! i
,[ record-number ] ! i,o
,unpacked-line ! o
,unpacked-limit ! i
,unpacked-length ! o
,[ reserved parameter: ignored ]
,[ spacefill ] ! i
,[ full-length ] ); ! i
Parameters
filenum
input
INT:value
specifies the file number of the open file that is to be read.
READEDIT Procedure 1203