title: Exit from an "if" in Delphi
body: <p>you can exit a <strong>while</strong> loop with <strong>break</strong>.</p>
  
  <p>How to exit from an <strong>if</strong>  .</p>
  
  <p>Is there a kind of <strong>GOTO</strong> in Delphi ?</p>
  
  <pre><code>procedure ...
  begin
  
    if .... then
      begin
  
        here the code to execute
  
        if (I want to exit = TRUE) then
          break or GOTO
  
        here the code not to execute if has exited
  
      end;
  
    here the code to execute
  
  end;
  </code></pre>