1.1.28 $IFOPT : Start conditional compilation

The f$IFOPT switchg will compile the text that follows it if the switch switch is currently in the specied state. If it isn't in the specied state, then compilation continues after the corresponding f$ELSEg or f$ENDIFg directive.

As an example:

{$IFOPT M+}  
  Writeln ('Compiled with type information');  
{$ENDIF}

Will compile the writeln statement if generation of type information is on.

Remark:The f$IFOPTg directive accepts only short options, i.e. f$IFOPT TYPEINFOg will not be accepted.