Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease 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!
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 November 21, 2024, 7:23 am This article has been viewed 35337 times. Google search has resulted in 11 hits on this article since January 25, 2004.
|
|