` Comment on an Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Add a comment to an Icetips Article

Please add your comments to this article. Please note that you must provide both a name and a valid email address in order for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!

Your Name:  
Email:  
Header text/Subject:  

Please enter your comment in the box below:

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 May 6, 2024, 7:11 pm
This article has been viewed 35121 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: