Name

ModuleIsPackage Variable

Syntax

unit SysInit;
var ModuleIsPackage: Boolean;

Description

ModuleIsPackage is True for a unit in a package, and False for a unit linked statically with a library or application.

Tips and Tricks

Unlike most other system variables, ModuleIsPackage is not shared among all packages in an application.

See Also

HInstance Variable, ModuleIsLib Variable, Package Directive

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.