IDL Problem Code 112 with alias logical-not
Want to disable me? Check out the configuration guide to learn more.
Warning Problem
This is a "problem" that gets reported to let users know how that behavior might not match what they expect.
When IDL's compile options are set to idl2, idl3, or logical_predicate, it changes the way that logical operations are handled.
This warning let's you know that you should use ~ instead of not with logical comparisons in if, case, or switch statements.
idl
compile_opt idl2
if not a then print, 'True!
; ^^^ warning appears hereTo correct, use ~ instead
idl
compile_opt idl2
if ~a then print, 'True!
; ^^ no warning!