Re: [fpc-pascal] Conditional compilation using {$IFOPT ...} and {$IF OPTION(...)}

2021-08-25 Thread Michael Van Canneyt via fpc-pascal
On Thu, 26 Aug 2021, LacaK via fpc-pascal wrote: Hello, looking at https://www.freepascal.org/docs-html/prog/progsu126.html#x139-142.4.1 There is mentioned "OPTION(opt)" with comment: "evaluates to TRUE if a compiler option is set (mode MacPas only). It is equivalent to the {$IFOPT }

[fpc-pascal] Conditional compilation using {$IFOPT ...} and {$IF OPTION(...)}

2021-08-25 Thread LacaK via fpc-pascal
Hello, looking at https://www.freepascal.org/docs-html/prog/progsu126.html#x139-142.4.1 There is mentioned "OPTION(opt)" with comment: "evaluates to TRUE if a compiler option is set (mode MacPas only). It is equivalent to the {$IFOPT } directive." 1. What is equivalent usage for {$IFOPT