Information: Cannot decide {directive} {condition}{expansion} at compile time, so its branch is assumed taken
The condition of this #if or #elseif does not expand to 1 or 0. IRIS evaluates the
condition at compile time and compiles the branch it picks. ascot does not evaluate it, so
it checks this branch alone, which may not be the one IRIS compiles. To have ascot decide
the branch, write a condition that expands to 1 or 0, such as #if $$$DEBUG with
#define DEBUG 1.
IRIS compiles the example.
ROUTINE Demo.UndecidedIf
#define MODE "DEBUG"
Main()
#if $$$MODE="DEBUG" //! A5540
Write "tracing on", !
#else
Write "tracing off", !
#endif
Quit