Article Preview
Buy Now
COLUMN
#If Target...
Conditional compiling
Issue: 5.3 (March/April 2007)
Author: Christian Schmitz
Author Bio: Christian Schmitz is the creator of the Monkeybread Software Realbasic Plugins.
Article Description: No description available.
Article Length (in bytes): 8,438
Starting Page Number: 44
Article Number: 5317
Related Link(s): None
Excerpt of article text...
Conditional compiling
Sometimes you have a project which is compiled for more than one platform. But for one of those platforms you want to use special code. Now you can actually keep parts of your code invisible for the compiler if you use #if commands. The compiler will only see what you want it to see and compile.
Let's say you have the following code:
...End of Excerpt. Please purchase the magazine to read the full article.