Currently using FPC 2.2.4, and I've found these lovely things called IFDEFs.
Ex:
Code:
{$IFDEF FPC}
 {$MODE DELPHI}
{$ENDIF}
Is there any way for me to define my own variables for these? I'd like to create an {$IFDEF DEBUG} so that the code won't be compiled and run in the final application, whereas just having a "if(debug) then" everywhere will be compiled and will be executed.