Name
$ImportedData Compiler Directive
Syntax
{$G+} // default {$ImportedData On} // default {$G-} {$ImportedData Off}
Scope
Local
Description
The $ImportedData
compiler directive is not
implemented.
A reference to a global variable in a
different unit ordinarily requires an extra level of indirection in
case the other unit resides in a separate package. The theory is that
disabling the $ImportedData
directive eliminates
this indirection. In practice, this directive has no effect. The
compiler automatically determines whether the indirection is needed
and compiles references to global variables accordingly.
Get Delphi in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.