unit MyUnit;
The project default namespace does not affect the name of the Delphi source file for a generic unit. In the preceding
example, the Delphi source file name would be MyUnit.pas. The compiler does however
prefix the dcuil file name
with the project default namespace. The resulting dcuil file in the current example would be MyCompany.Programs.
MyUnit.dcuil.
Namespace strings are not case-sensitive. The compiler considers two namespaces that differ only in case to be
equivalent. However, the compiler does preserve
the case of a namespace, and will use the preserved casing in
output
file names, error messages, and RTTI unit identifiers. RTTI for class and type
names will include the full
namespace specification.
Dostları ilə paylaş: