Information: Cannot decide {directive} {condition}{expansion} at compile time, so its branch is assumed taken
The condition of an #if or #elseif is not the literal 1 or 0 once its macros are
expanded. IRIS evaluates any expression at compile time and compiles the branch it picks;
ascot does not evaluate, so it checks that directive’s branch and skips the rest, which may
not be what IRIS compiles. The code is fine as far as IRIS is concerned; a macro that expands to
1 or 0 (#define DEBUG 1, #if $$$DEBUG) would make the choice visible to ascot.
IRIS compiles the example.
ROUTINE Demo.UndecidedIf
#define MODE "DEBUG"
Main()
#if $$$MODE="DEBUG" //! A5540
Write "tracing on", !
#else
Write "tracing off", !
#endif
Quit