Originale-mail to me for new edition

 

Example Programs

 

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.

A simple console application

A more complicated example

A Windows application

 

Topic groups

Using Object Pascal

Program organization: Overview

Pascal source files

Other files used to build applications

Compiler-generated files

About example programs

A simple console application

A more complicated example

A native application

 

See also

Common programming tasks

Creating applications

Program organization: Overview

Using Object Pascal

 

 

译文

 

范例程序

 

下面的范例说明了Object Pascal编程的基本特点。这些范例中给出的是简单Object Pascal应用程序,这些应用程序不能从集成开发环境中编译,但可以从命令行方式中编译。

简单的控制台应用程序

相对复杂的范例

本地应用程序范例

 

主题组

使用Object Pascal

程序组织:概述

Pascal源文件

用于建立应用程序的其他文件

编译器产生的文件

关于范例程序

简单的控制台应用程序

相对复杂的范例

本地应用程序范例

 

相关主题

普通编程任务

创建应用程序

程序组织:概述

使用Object Pascal

 

 

编者注

 

关于当前主题

相信当前主题存在如下一些疏漏之处:

(一)      实践证明,范例程序不能在集成开发环境中编译(原文:cannot be compiled from the IDE)是不准确的,有兴趣的您可以对这三个范例程序逐一试验。

(二)      根据Delphi 6提供的Object Pascal Reference帮助中目录、主题和内容综合来看,原文中的“A Windows application”的确应为“A native application”,因此笔者在译文中直接进行了更正。

 

关于相关主题(See also

因为前两个相关主题在Delphi 6提供的Object Pascal Reference帮助之外,所以在此显示为灰色,并且当前参考中也没有提供相应的内容。