Difference between revisions of "Comments"
From Free Pascal wiki
Jump to navigationJump to searchm |
m |
||
Line 29: | Line 29: | ||
* [[Compiler directive]] | * [[Compiler directive]] | ||
* [[ToDo List]] | * [[ToDo List]] | ||
− | |||
− |
Revision as of 20:48, 9 November 2016
│
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. They are not interpreted by the compiler and ignored when building your program.
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