Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (D-E)
Guardian Procedure Calls Reference Manual—522629-013
4-84
DNUMIN Procedure
DNUMIN Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Considerations
Example
Related Programming Manual
Summary
The DNUMIN procedure converts the ASCII characters used to represent a number
into the signed double word integer value for that number.
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
next-addr returned value
EXTADDR
returns the ā€˜G’[0] relative byte address of the first character in
ascii-num after the
number, or the last character examined in case of an error.
Note. In the TNS/E environment the CEXTDECS file uses the int data type for 32-bit values.
This is a change from the TNS and TNS/R environments where CEXTDECS uses the long
data type for 32-bit values.
#include <cextdecs(DNUMIN)>
__int32_t DNUMIN ( char *ascii-num
,__int32_t *signed-result
,short base
,[ short *status ]
,[ short flags ] );
next-addr := DNUMIN ( ascii-num ! i
,signed-result ! o
,base ! i
,[ status ] ! o
,[ flags ] ); ! i