Compiler Directive
Determines whether symbol reference information is built
{$ReferenceInfo Off}
2 {$ReferenceInfo On}
The $ReferenceInfo compiler directive determines whether Delphi builds symbol reference information, as used by the Delphi browser and code explorer.
This gives not only symbol definitions, but also usage of these symbols.
The overheads for keeping $ReferenceInfo on are minimal.
$DefinitionInfo only works when $DebugInfo and LocalSymbols are On.
$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 $ReferenceInfo Off

You must have symbol definitions on in order to have references to the symbols.
Related commands
$DebugInfoDetermines whether application debug information is built
$DefinitionInfoDetermines whether application symbol information is built
$LocalSymbolsDetermines what application debug information is built
 Download this web site as a Windows program.

Example code :

Delphi Programming © Neil Moffatt . All rights reserved.  |  Home Page