Difference between revisions of "Program"

From Lazarus wiki
Jump to navigationJump to search
Line 5: Line 5:
 
[[Category:Pascal]]
 
[[Category:Pascal]]
 
=Example=
 
=Example=
</syntaxhighlight lang="Pascal">
+
 
 +
<syntaxhighlight lang="Pascal">
 
program project1;  {$R *.res}
 
program project1;  {$R *.res}
 
begin
 
begin

Revision as of 13:46, 30 October 2017

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

program project1;  {$R *.res}
begin
  writeLn('demo of program');
end.