Name

$LocalSymbols Compiler Directive

Syntax

{$L+}              // default
{$LocalSymbols On} // default
{$L-}
{$LocalSymbols Off}

Scope

File

Description

If $DebugInfo is enabled, you can also enable $LocalSymbols to store information about subroutines, types, variables, and source line numbers in a unit. The symbol information is stored in the .dcu file and has no impact on the performance or size of the final .exe or .dll file. Delphi ignores the $LocalSymbols compiler directive when $DebugInfo is disabled.

In very large projects, you might save a little bit of time and disk space by disabling $LocalInfo, but in most cases, the savings are minuscule and not worth the effort to disable the directive.

See Also

$DebugInfo Compiler Directive, $DefinitionInfo Compiler Directive, $ReferenceInfo Compiler Directive
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset