SmartPascal
$DefinitionInfo
Compiler Directive
Determines whether application symbol information is built
1   {$DefinitionInfo Off}
2   {$DefinitionInfo On}
Description
The $DefinitionInfo compiler directive determines whether Delphi builds symbol definition information, as used by the Delphi browser and code explorer.
 
By default, Delphi builds the information.
 
The overheads for keeping $DefinitionInfo on are minimal.
 
$DefinitionInfo only works when $DebugInfo and LocalSymbols are On.
Notes
$DefinitionInfo works in conjunction with $ReferenceInfo when the related $Y directive is used:

$YD = Defs On , Refs Off
$Y-  = Defs Off , Refs Off
$Y+ = Defs On , Refs On

The default value is $DefinitionInfo On
Related commands
$DebugInfo Determines whether application debug information is built
$LocalSymbols Determines what application debug information is built
$ReferenceInfo Determines whether symbol reference information is built
 
Example code :