Re: -D define

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

 



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







[Index of Archives]     [Gcc Help]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Info]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux