$STRICT – Enable / disable strict type control

Language reference ›› Directives ››
Parent Previous Next

strict-directive = $STRICT directive-toggle .


Tells the compiler to enable or disable strict type checking.


If ON, normal Pascal type checking is performed (e.g. an assignment of a boolean to an integer produces an error).


This directive overrides the default option defined in the Project's Options.


Default is OFF.


{$STRICT ON}