Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (N)
Guardian Procedure Calls Reference Manualā522629-013
10-56
NUMIN Procedure
NUMIN Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Considerations
Related Programming Manual
Summary
The NUMIN procedure converts the ASCII characters used to represent a number into
the signed integer value for that number.
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
next-addr returned value
BADDR
returns the āGā[0] relative string address of the first character in
ascii-num not
used in the conversion.
ascii-num input
STRING:ref:*
is an array containing the number to be converted to signed integer form.
ascii-num is of the form:
[ + ] [ % ] [ h/H ] number nonnumeric
[ - ] [ b/B ]
#include <cextdecs(NUMIN)>
short NUMIN ( char *ascii-num
,short _near *signed-result
,short base
,short _near *status );
next-addr := NUMIN ( ascii-num ! i
,signed-result ! o
,base ! i
,status ); ! o