Imported data

From RAD Studio
Jump to: navigation, search

Go Up to Delphi Compiler Directives (List) Index

Type

Switch

Syntax

{$G+} or {$G-} {$IMPORTEDDATA ON} or {$IMPORTEDDATA OFF}

Default

{$G+} {$IMPORTEDDATA ON}

Scope

Local



Remarks

The {$G-} directive disables creation of imported data references. Using {$G-} increases memory-access efficiency, but prevents a packaged unit where it occurs from referencing variables in other packages.