Difference between revisions of "Comments"
From Free Pascal wiki
Jump to navigationJump to searchJwdietrich (talk | contribs) |
|||
Line 25: | Line 25: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | == | + | == See also == |
* [[Program_Structure|Program Structure]] | * [[Program_Structure|Program Structure]] | ||
* [[Compiler directive]] | * [[Compiler directive]] |
Revision as of 09:25, 6 May 2014
│
Deutsch (de) │
English (en) │
suomi (fi) │
français (fr) │
italiano (it) │
русский (ru) │
Comments are human-readable notes or other kinds of annotations in support of the program code.
Block comments
Block comments delimited by { and } or (* and *).
- { or (* is comment start
- } or *) is comment end
Example:
{ public declarations }
Line comments
Line comments or inline comments start with comment delimiter // and continue until the end of the line.
Example:
// This is comment