Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (N)
Guardian Procedure Calls Reference Manual—522629-013
10-53
NUMBEREDIT Procedure
NUMBEREDIT Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Example
Related Programming Manual
Summary
The NUMBEREDIT procedure renumbers the lines of an EDIT file that are in a
specified range. You can specify the new starting number and increment for the range
of lines to be renumbered.
NUMBEREDIT is an IOEdit procedure and can only be used with files that have been
opened by OPENEDIT or OPENEDIT_.
Syntax for C Programmers
•
CEXTDECS (via the included file TNSINTH) defines 32-bit values as the typedef
__int32_t which for TNS and TNS/R compiles is defined as
long and for TNS/E
compiles is defined as
int.
Syntax for TAL Programmers
Parameters
error returned value
INT
returns a value that indicates the outcome of the operation. The value is a file-
system error number or one of the following values:
#include <cextdecs(NUMBEREDIT)>
short NUMBEREDIT ( short filenum
,__int32_t first
,__int32_t last
,[ __int32_t start ]
,[ __int32_t increment ] );
error := NUMBEREDIT ( filenum ! i
,first ! i
,last ! i
,[ start ] ! i
,[ increment ] ); ! i