Comments

From Free Pascal wiki
Revision as of 20:56, 9 November 2016 by E-ric (talk | contribs)
Jump to navigationJump to search

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

See also