Constant
From Lazarus wiki
Jump to navigationJump to searchThe printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
│
English (en) │
suomi (fi) │
français (fr) │
русский (ru) │
中文(中国大陆) (zh_CN) │
A constant is a variable that does not change, it has a fixed value.
Constants are defined in the const section of a Free Pascal program. When a variable is constant the Free Pascal compiler can often do some optimizations to make the output code faster or smaller.
Some special Free Pascal constants:
Logical truth values
Empty pointer value
Mathematical values