[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [open-cobol-list] Dollar usage in column 7
From: |
William M. Klein |
Subject: |
RE: [open-cobol-list] Dollar usage in column 7 |
Date: |
Thu May 6 13:43:03 2004 |
The "$" statements in Micro Focus are similar (not quite identical) to the
"conditional compilation" facility introduced in the 2002 Standard. *IF* you
implement one, you should be able to implement the other as "synonymous".
The
$DISPLAY
is one exception. The ISO 2002 Standard does *not* include any standard way
of doing a compile-time "display". Personally, I think this is a failing of
the Standard (and I tried to get it added - but failed).
> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden On
> Behalf Of Margit Schubert-While
> Sent: Thursday, May 06, 2004 1:04 AM
> To: address@hidden
> Cc: address@hidden
> Subject: [open-cobol-list] Dollar usage in column 7
>
> MF has extensions for compiler directing.
> In particular, the following :
> $SET
> $DISPLAY
>
> Could we ignore these ?
> (Should be a simple fix in pplex.l)
>
> For further/future consideration, MF also has :
> $IF
> $ELSE
> $END
>
> Format 1 for $IF :
> $IF constant-name [NOT] {< > =} literal
> Format 2 for $IF
> $IF constant-name [NOT] DEFINED
>
> The $IF's can be nested.
>
> If it is decided to implement this, we could have
> a "-D" compile option (eg -DMYCONSTANT or -DMYCONSTANT=1)
>
> Roger While
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by Sleepycat Software
> Learn developer strategies Cisco, Motorola, Ericsson & Lucent
> use to deliver
> higher performing products faster, at low TCO.
> http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
> _______________________________________________
> open-cobol-list mailing list
> address@hidden
> https://lists.sourceforge.net/lists/listinfo/open-cobol-list
>