bug-gnucobol
[Top][All Lists]
Advanced

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

Re: [open-cobol-list] MULTIPLY statement bug ?


From: Keisuke Nishida
Subject: Re: [open-cobol-list] MULTIPLY statement bug ?
Date: Tue May 20 05:48:12 2003
User-agent: Wanderlust/2.10.0 (Venus) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (Unebigoryƍmae) APEL/10.3 Emacs/21.2 (i386-redhat-linux-gnu) MULE/5.0 (SAKAKI)

At Tue, 20 May 2003 06:19:41 -0400,
David Essex wrote:
> 
> There appears to be a bug in the MULTIPLY statement, format 1, COBOL 85
> standard.
> 
> Format 1 syntax:
> MULTIPLY { identifier-1 | literal-1 } BY ( identifier-n [ROUNDED] )...
> 
> The value of identifier-1 or literal-1 is multiplied by the value of
> identifier-n, and the product is placed in identifier-n (n > 1).
> 
> Example 1 (valid): 
> MULTIPLY .10 BY IDNUMBER .
> 
> Example 2 (not-valid): 
> MULTIPLY IDNUMBER BY .10 .
> 
> In example 2, OC version 0.21 for MinGW, did not trap the error.
> 
> Is this a bug or was the standard changed for COBOL 200x ?

It must be a bug.  I'll fix it soon.  Thanks.

Keisuke


reply via email to

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