Guardian Procedure Calls Reference Manual

record-number returns the value of the file's new current record number after the read has
been performed. This is equal to the record number of the line that was read, or it is -2 (end
of file) if no line was read.
packed-line
output
STRING .EXT:ref:*
is a string array that contains the line in unpacked format that is the outcome of the operation.
The length of the unpacked line is returned in the packed-length parameter.
packed-limit
input
INT:value
specifies the length in bytes of the string variable packed-line.
packed-length
output
INT .EXT:ref:1
returns the actual length in bytes of the value returned in packed-line. If packed-line is
not large enough to contain the value that is the output of the operation, packed-length
returns a negative value.
Returned Value
INT
A file-system error code that indicates the outcome of the call.
Example
error := READEDITP ( filenumber, record^num, line^image,
line^maxlength, line^actual^length );
IF error THEN ... ! handle error
IF line^actual^length < 0 THEN ... ! buffer (line^image)
! too small for return
! value
Related Programming Manual
For programming information about the READEDITP procedure, see the Guardian Programmer's
Guide.
READEDITP Procedure 1207