Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (G)
Guardian Procedure Calls Reference Manual522629-013
6-11
GETINCREMENTEDIT Procedure
GETINCREMENTEDIT Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Related Programming Manual
Summary
The GETINCREMENTEDIT procedure returns the record number increment value for
an IOEdit file.
GETINCREMENTEDIT 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
increment returned value
INT(32)
returns the record number increment value for the specified file, or 0 if the file is not
open. The record number is 1000 times the EDIT line number.
filenum input
INT:value
specifies the file number of the open file of interest.
#include <cextdecs(GETINCREMENTEDIT)>
__int32_t GETINCREMENTEDIT ( short filenum );
increment := GETINCREMENTEDIT ( filenum ); ! i