title: Is there a way of instructing Ada compiler to select blocks of code?
body: <p>I would like to instruct the Ada compiler to select between two different blocks of code, depending on predefined static compiler directives, such as for instance "DEBUG" or "RELEASE". I would like to do something like this:</p>
  
  <p>if DEBUG then
   &lt; COMPILE THIS CODE >
  end if;</p>
  
  <p>if RELEASE then
   &lt; COMPILE THIS OTHER CODE >
  end if;</p>
  
  <p>C# and other languages offer the #define directive for this. Has Ada something similar to offer? And if not, how is this done in Ada?</p>