Difference between revisions of "Constant"
From Lazarus wiki
Jump to navigationJump to search (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...) |
|||
Line 3: | Line 3: | ||
Constants are defined in the [[Const|const]] section of the program. When some value are constant the [[Compiler|compiler]] can do some optimizations. | Constants are defined in the [[Const|const]] section of the program. When some value are constant the [[Compiler|compiler]] can do some optimizations. | ||
− | + | ||
− | |||
− | |||
Some special constant values are e.g. | Some special constant values are e.g. | ||
Line 22: | Line 20: | ||
* [[Pi]] | * [[Pi]] | ||
+ | |||
+ | |||
+ | == read more == | ||
+ | |||
+ | [[Constants]] |
Revision as of 10:01, 12 April 2008
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