Originale-mail to me for new edition

 

Naming packages

 

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.

 

Topic groups

 

See also

Generated files

Package declarations and source files

Packages: Overview

The requires clause

 

 

译文

 

命名包

 

编译过的包包括几个产生的文件。例如,前面例子中叫做DATAX的包,其源文件是DATAX.dpk,从该文件编译产生一个可执行文件和一个二进制镜象文件,它们是:

·  Windows中分别是DATAX.bplDATAX.dcp

·  Linux中分别是bplDATAX.so而后DATAX.dcp

DATAX用于引用在requires子句中的其他包,或者当在应用程序中使用包时对其他包引用。在一个工程中,包的名称必须是唯一的。

 

主题组

 

相关主题

产生的文件

包声明和源文件

包:概述

requires子句