The
examples that follow illustrate basic features of Object Pascal programming. The
examples show simple Object Pascal applications that cannot be compiled from
the IDE; but you can compile them from the command line.
Program organization: Overview
Other files used to build applications
Common programming tasks
Creating applications
Program organization: Overview
译文
范例程序
下面的范例说明了Object Pascal编程的基本特点。这些范例中给出的是简单Object
Pascal应用程序,这些应用程序不能从集成开发环境中编译,但可以从命令行方式中编译。
普通编程任务
创建应用程序
相信当前主题存在如下一些疏漏之处:
(一) 实践证明,范例程序不能在集成开发环境中编译(原文:cannot be compiled from the IDE)是不准确的,有兴趣的您可以对这三个范例程序逐一试验。
(二) 根据Delphi 6提供的Object Pascal Reference帮助中目录、主题和内容综合来看,原文中的“A Windows application”的确应为“A native application”,因此笔者在译文中直接进行了更正。
因为前两个相关主题在Delphi 6提供的Object Pascal Reference帮助之外,所以在此显示为灰色,并且当前参考中也没有提供相应的内容。