` Compile directives to indicate version (Also) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Icetips Article

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

Clarion 6: Compile directives to indicate version
2003-02-10 -- Also
 
Hello, > Why not add a new compile directive that contains the actual version (or > is that a ? for Alexey)? How such value can help you? For C60 specific code you can use _C60_. If, suppose, compiler provides _C60Only_ as TRUE and _C55Only_ as FALSE, how you can use them for C55 specific code? In fact, _CXXOnly_ is a program flag, not the compiler flag, and hence the program must set it. > That way we could check for _c60_ and then reliably > use this new compile directive if it is true. Add following line just after the PROGRAM statement: _C55Only_ EQUATE(_C55_ - _C60_) and use this symbol in OMIT or COMPILE directives if you need C55 specific code. Alexey Solovjev


Today is April 25, 2024, 11:10 pm
This article has been viewed 35116 times.
Google search has resulted in 11 hits on this article since January 25, 2004.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: