[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: -D define
From: |
Brian.Tiffin |
Subject: |
Re: -D define |
Date: |
Fri, 08 May 2020 20:26:04 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.5 |
James K. Lowden wrote:
> How is the value provided by the cobc -D option referenced in the Cobol
> source code? It seems like it might be related to the >>DEFINE, but I
> don't see any mention of the CDF in the man page or the -D option in the
> CDF.
>
> --jkl
>
>
The -`D` code in cobc.c sets a cb_define_struct entry. That is tested
in the preprocessor with >>IF var IS [NOT] DEFINED.
or >>IF expression, ala >>IF var IS > 10.
Documentation is probably lacking, yes. ;-)
Cheers,
Blue
- -D define, James K. Lowden, 2020/05/08
- Re: -D define,
Brian.Tiffin <=