gnucobol-users
[Top][All Lists]
Advanced

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

[open-cobol-list] Re: incorrect code being generated


From: Roger While
Subject: [open-cobol-list] Re: incorrect code being generated
Date: Fri Sep 17 00:05:07 2004

Hmm, David, this is interesting.
The problem is that the NOT is part of the evaluate
syntax, so it is binding to the WHEN and gets evaluated as:
WHEN NOT ( expression). You can solve it by putting brackets
round the whole expression :
WHEN (NOT Q232-PAPER AND
            NOT Q232-ALT-MEDIA AND
            NOT Q232-PAPER-ALT-MEDIA)

I am not sure exactly what should happen here.
Maybe somebody can shed some light on this.
(Manuals are not too explicit here)

Roger While




reply via email to

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