Code Comments
Programming Forum and web based access to our favorite programming groups.What would FUNCTION NUMVAL(AFLD) do with a trailing minus sign?
Post Follow-up to this messageAccording to both the Intrinsic Function Amendment to the '85 standard and
to the 2002 standard, the answer is "accept it".
The two formats allowed are
[space-string] [+ / -] [space-string] {digit [.[digit]] / . digit]}
[space-string]
and
[space-string] {digit [.[digit]] / .digit } [space-string] [+ / - / CR /
DB] [space-string]
See ANSI X3.23a-1989, American National Standard for Information Systems --
Programming Language -- Intrinsic Function Module for COBOL page A-59 and
ISO/IEC 1989:2002(E) , International Standard -- Information technology --
Programming languages -- COBOL page 623.
-Chuck Stevens
<epc8@juno.com> wrote in message
news:1115226002.430325.21130@g14g2000cwa.googlegroups.com...
> What would FUNCTION NUMVAL(AFLD) do with a trailing minus sign?
>
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.