PURPOSE
: Convert
ASCII value array to positive integer base 10 number.
SYNTAX
: valueA:CharArray
call fASCIIAToDec
RETURNS
: Integer
Positive integer base 10 value equivalent to passed in ASCII
array characters.
-1 on error.
EXAMPLES
:
A ASCII value to positive integer
["A"] call fASCIIAToDec -> 65
. ASCII value to positive integer
["."] call fASCIIAToDec -> 46
HE ASCII value to positive integer
["H","E"] call fASCIIAToDec -> 18501
HISTORY
: CoC bn880 06/03/2003
DEPENDENCIES: CoC_LIBNUMSYS