A compiled package involves several generated files. For example, the source file for the package called DATAX is DATAX.dpk, from which the compiler generates an executable and a binary image called
· On Windows: DATAX.bpl and DATAX.dcp
· On Linux: bplDATAX.so and DATAX.dcp.
DATAX is used to refer to the package in the requires clauses of other packages, or when using the package in an application. Package names must be unique within a project.
Package declarations
and source files
编译过的包包括几个产生的文件。例如,前面例子中叫做DATAX的包,其源文件是DATAX.dpk,从该文件编译产生一个可执行文件和一个二进制镜象文件,它们是:
· 在Windows中分别是DATAX.bpl和DATAX.dcp。
· 在Linux中分别是bplDATAX.so而后DATAX.dcp。
DATAX用于引用在requires子句中的其他包,或者当在应用程序中使用包时对其他包引用。在一个工程中,包的名称必须是唯一的。