Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (D-E)
Guardian Procedure Calls Reference Manual—522629-013
4-86
DNUMIN Procedure
<14> Disallow prefixes (%, #, and so on)
<15> Permit two-word number of the form integer1.integer2 where 
each unsigned integer must fit in a 16-bit word.
If not supplied, 
flags defaults to zero.
Considerations
•
Number conversion stops on the first ASCII character that either does not 
represent any numeric value or that represents a numeric value greater than (
base 
-1). For bases greater than 10, where letters are used to represent the values 10 
and above, both uppercase and lowercase letters are accepted. Embedded 
commas are not allowed.
•
Decimal numeric values must be in the range -2,147,483,648 to +2,147,483,647.
•
Numeric values in other number bases must be in the range -%h80000000 to 
+%hFFFFFFFF. DNUMIN accepts positive numbers in the 32-bit range and 
negative numbers in the 31-bit range.
Example
STRING .number[0:15] := ["-2147483640 "];
INT(32) result;
INT base := 10;
INT status := 0;
 .
 .
CALL DNUMIN ( number, result, base, status );
IF status <> 0 THEN ...
Related Programming Manual
For related programming information about the DNUMIN utility procedure, refer to the 
Guardian Programmer’s Guide.










