Difference between revisions of "Program"
From Free Pascal wiki
Jump to navigationJump to searchJwdietrich (talk | contribs) |
m |
||
Line 4: | Line 4: | ||
[[Category:Pascal]] | [[Category:Pascal]] | ||
+ | =Example= | ||
+ | //</syntaxhighlight lang="Pascal"> | ||
+ | program project1; {$R *.res} | ||
+ | begin | ||
+ | writeLn('demo of program'); | ||
+ | end. | ||
+ | // </syntaxhighlight> |
Revision as of 13:45, 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
//</syntaxhighlight lang="Pascal"> program project1; {$R *.res} begin
writeLn('demo of program');
end. // </syntaxhighlight>