gnucobol-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [open-cobol-list] Two errors of Open-Cobol 09.7-11


From: Keisuke Nishida
Subject: Re: [open-cobol-list] Two errors of Open-Cobol 09.7-11
Date: Thu Nov 14 04:14:03 2002
User-agent: Wanderlust/2.9.14 (Unchained Melody) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (Unebigoryƍmae) APEL/10.3 Emacs/21.2 (i386-debian-linux-gnu) MULE/5.0 (SAKAKI)

At Wed, 13 Nov 2002 22:44:52 +0100,
Enrico Ceppi wrote:
> 
> I have downloaded Open-Cobol 0.9.7-11.
> This program is not compiling.
(snip)
>        77  FILLER        PIC X.
>            88 YESS       VALUE 'Y'.
>            88 NOOO       VALUE 'N'.

You are right.  Level 88 conditionals under a FILLER item is
not working now.  I will fix it.

> This program give wrong results.
(snip)
> a)         MOVE PIC-X  TO PIC-9.
>            DISPLAY 'PIC-X >' PIC-X '<'.
> b)         DISPLAY 'PIC-9 >' PIC-9 '<'.
> c)         IF PIC-9 IS NUMERIC
(snip)
> Move a) must be permitted to permit c) test. Display b) must show the 
> field. Every aritmetic operation must break the program with an error. A 
> move of PIC-9 in a field pic-edited (ZZ.ZZZ, for example) must give 
> error, too.

Is that true?  My grammer book says a) should convert alphanumeric
data into numeric data, as it does now.  With the change you suggest,
some of the NIST testsuite will fail.

Thanks,
Keisuke Nishida


reply via email to

[Prev in Thread] Current Thread [Next in Thread]