Guardian Procedure Calls Reference Manual

still occurs if increment is present, in which case the value of increment is used for start.
The possible EDIT line numbers are 0, 0.001, 0.002, ... 99999.999.
increment
input
INT(32):value
if present and greater than 0, causes EXTENDEDIT to renumber the lines in the new file using
the incremental value specified. The possible EDIT line numbers are 0, 0.001, 0.002, ...
99999.999. The value of increment indicates 1000 times the value to be added to each
successive line number.
If increment is not supplied, the line numbers from the original file are used in the new file.
Returned Value
INT
A file-system error code that indicates the outcome of the call. The most common cause of failure
is error 48 (security violation), which occurs when the caller is not authorized to rename or purge
the existing file.
Example
In the following example, EXTENDEDIT copies the specified EDIT file into a new file with a larger
extent size. In the new file, the line number of the first line will be 1 and the line number increment
will be 1.
INT(32) start := 1000D;
INT(32) increment := 1000D;
.
.
err := EXTENDEDIT ( filenumber, start, increment );
Related Programming Manual
For programming information about the EXTENDEDIT procedure, see the Guardian Programmer's
Guide.
342 Guardian Procedure Calls (D-E)