Compiler Library/XL Reference Manual (32650-90029)

3-: 2
parameter has no effect. If decplaces
is less than zero, the procedure
assumes decplaces is zero. If datatype
is 0 or -1, this parameter is ignored.
datatype = The internal representation desired:
0 = SHORTINT
1 = REAL
-1 = INTEGER
-2 = LONGREAL
scale = The scale factor (see Comment 2 for
more details). This factor is ignored
if datatype=0 (SHORTINT) or datatype=-1
(INTEGER).
delimiters = Imbedded blanks, dollar signs, and
commas in the input are treated
differently, depending upon whether the
value is even or odd.
Even: $ and/or commas and/or
imbedded blanks are
delimiters.
Odd : Imbedded blanks are
treated as zeros; a $
and/or a comma to the
left of every third
digit to the left of
the decimal point are
allowed.
Parameters result= 32-bit pointer (address) to the first
(Output): word of result storage according to the
type specified.
error = Error indicator (see Comments 5 and 6
for more details).
2 = No integer or fraction
value was detected
(see Comment 6).
1 = An illegal character
was detected (see
Comment 5).
0 = Valid result; no
error.
-1 = The number is larger
than the largest
representable value
and an illegal
character was
detected.
-2 = The resulting number
is greater than the
largest representable
value of datatype.
See Chapter 1 for
details on
representable values.
-3 = The number is less