Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (H-K)
Guardian Procedure Calls Reference Manual—522629-013
7-35
INCREMENTEDIT Procedure
INCREMENTEDIT Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Example
Related Programming Manual
Summary
The INCREMENTEDIT procedure sets the increment to be added to successive line
numbers for lines that will be added to an EDIT file without explicitly specified line
numbers. Each time a file is opened by OPENEDIT or OPENEDIT_, the increment is
reset to 1 (which would be specified in this procedure as 1000).
INCREMENTEDIT is an IOEdit procedure and can only be used with files that have
been opened by OPENEDIT or OPENEDIT_.
Syntax for C Programmers
•
CEXTDECS (through 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
filenum input
INT:value
specifies the file number of the open file for which the line number increment is to
be set.
increment input
INT(32):value
specifies the increment to be added to successive line numbers for lines that will
be added to the file without explicitly specified line numbers. The value should be
#include <cextdecs(INCREMENTEDIT)>
short INCREMENTEDIT ( short filenum
,[ __int32_t increment ] );
CALL INCREMENTEDIT ( filenum ! i
,[ increment ] ); ! i