DelphiBasics
$Y
Compiler Directive
Determines whether application symbol information is built
{$YD}
1
2 {$Y-}
3 {$Y+}
Description
The $Y compiler directive determines whether Delphi builds symbol definition and reference information, as used by the Delphi browser and code explorer.
 
By default, Delphi builds just the definitions, and not the references.
 
The references are the users of the symbols.
 
The overheads for keeping symbol information are minimal.
 
The allowed values are :
 
$YD  = Defs On , Refs Off
$Y-  = Defs Off, Refs Off
$Y+  = Defs On , Refs On

 
$Y only works when $DebugInfo and LocalSymbols are On.
Related commands
$DebugInfoDetermines whether application debug 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