Home | Contact | Pricing | News | Events | Partners | Mailing List | Site Map

Developer Center

[GNAT] New style switch -gnatyB for Boolean operator usage

Wednesday June 3, 2009

A new style switch -gnatyB activates the standard gnat style rule that applies to use of AND/OR. These operators are only allowed for modular operands, array operands, and simple stand-alone boolean variables or boolean constants. In all other cases AND THEN/OR ELSE are required.

 

Posted by Posted in Development Log, GNAT Compilation System