gnucobol-users
[Top][All Lists]
Advanced

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

RE: [open-cobol-list] Re: Some more errors


From: William M. Klein
Subject: RE: [open-cobol-list] Re: Some more errors
Date: Wed Mar 3 04:45:00 2004

_______________________________

        From: address@hidden
[mailto:open-cobol-list-
        
        
        1) Following produces "invalid expression" :
                EVALUATE Blah-blah
                WHEN > "aa"
        
                Sorry, William, don't agree. This is a straight conditional
expression which is valid
                and not a partial expression.  (As well as MF, MVS, ACU
accept this)
        
No - this will definitely get a compile error on MVS - and probably on ACU -
MF *does* document this as a valid extension.

To make it '85 Standard conforming, you would need to code:

  Evaluate True
    When Blah-Blah > "aa"

As long as "Blah-Blah" is the selection subject and the when begins with ">"
not a data-item, this is definitely partial-expression EVALUATE.




reply via email to

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