Constant

From Lazarus wiki
Revision as of 09:39, 12 April 2008 by Djzepi (talk | contribs) (New page: A '''constant''' is something that does not change, a fixed value. Constants are defined in the const section of the program. When some value are constant the [[Compiler|compile...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A constant is something that does not change, a fixed value.

Constants are defined in the const section of the program. When some value are constant the compiler can do some optimizations.



Some special constant values are e.g.

- Logical truth values

- Empty pointer value

- Mathematical constants