Constant

From Lazarus wiki
Revision as of 11:31, 11 December 2013 by Swen (talk | contribs)
Jump to navigationJump to search

English (en) suomi (fi) français (fr) русский (ru) 中文(中国大陆)‎ (zh_CN)

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


read more

Constants