Show: Object Pascal C++
Display Preferences

IFOPT directive (Object Pascal)

From Appmethod Topics
Jump to: navigation, search

Go Up to Object Pascal Compiler Directives (List) Index


Conditional compilation


{$IFOPT switch}


Compiles the Object Pascal source code that follows it if switch is currently in the specified state. switch consists of the name of a switch option, followed by a + or a - symbol. For example,

	 Writeln('Compiled with range-checking');

compiles the Writeln statement if the $R option is currently active.

Personal tools
In other languages