SmartPascal
$L
Compiler Directive
Determines what application debug information is built
1   {$L-}
2   {$L+}
Description
The $L compiler directive determines whether Delphi saves local symbols  when building debug information for the application.
 
By default, Delphi builds the routine, variable and line number information, but this can be dsiabled by setting $L off.
 
The overheads for keeping $L on are minimal.
Notes
$LocalSymbols is equivalent to $L.

The default value is $L+
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
$Y Determines whether application symbol information is built
 
Example code :