rgarnett1955 Active Member Licensed User Longtime User Apr 19, 2020 #1 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
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 Apr 19, 2020 #2 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
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
Erel B4X founder Staff member Licensed User Longtime User Apr 19, 2020 #3 BTW, you can use the built-in DEBUG symbol for this. Upvote 0
rgarnett1955 Active Member Licensed User Longtime User Apr 20, 2020 #4 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
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