B4J Question Conditional Compilation Does Not Seem to Be Working

rgarnett1955

Active Member
Licensed User
Longtime User
Hi,

I created a symbol for my build called "NO_COMPLEX_ALARMS" to exclude code from one of my projects, but it doesn't seem to work. I've used it may times before using the standard symbols such as DEBUG, but not my own symbols.

What might be going on?

Best regards

Rob






 

OliverA

Expert
Licensed User
Longtime User
I don’t see it. You defined NO_COMPLEX_ALARMS and the code is included as expected. The error message does not relate to your conditional, unless there is more to it then you are showing in the screen shots
 
Upvote 0

rgarnett1955

Active Member
Licensed User
Longtime User
Sorry to waste your time Erel,

I had a seniors' moment. I've been doing lots of C where I do #define NO_COMPLEX_ALARMS 1.

Of course its only the def in B4x not the value of def.

Best regards

Rob
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…