Program

From Free Pascal wiki
Revision as of 14:45, 30 October 2017 by Mai (talk | contribs)
Jump to navigationJump to search

Deutsch (de) English (en) suomi (fi) français (fr) Bahasa Indonesia (id) italiano (it) português (pt) русский (ru)

A program is either an executable program, that is, the complete and runnable application, or it is that portion of a Pascal Source code file or files that can be compiled and is not declared to be a unit. This is sometimes referred to as the main program.

Example

//</syntaxhighlight lang="Pascal"> program project1; {$R *.res} begin

 writeLn('demo of program');

end. // </syntaxhighlight>