Difference between revisions of "Comments"
From Free Pascal wiki
Jump to navigationJump to searchm |
m |
||
Line 28: | Line 28: | ||
== See also == | == See also == | ||
* [[Program_Structure|Program Structure]] | * [[Program_Structure|Program Structure]] | ||
− | + | * [http://wiki.lazarus.freepascal.org/Category:Compiler_directives Compiler directive] | |
* [[ToDo List]] | * [[ToDo List]] |
Revision as of 13:47, 15 February 2017
│
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