Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (W-Z)
Guardian Procedure Calls Reference Manual522629-013
16-18
WRITEEDIT Procedure
if present and not equal to 0, specifies that all trailing space characters (if any) in
the line being processed should be retained in the output line image. Otherwise,
trailing space characters are discarded.
new-record-number output
INT(32) .EXT:ref:1
returns the record number of the newly written line. This value is 1000 times the
EDIT line number of the line.
Example
INT(32) record^num := -2D; ! write to end of file
.
.
error := WRITEEDIT ( filenumber, record^num, line^image,
line^length );
Related Programming Manual
For programming information about the WRITEEDIT procedure, refer to the Guardian
Programmer’s Guide.