Constants, as their name implies, have values that do not change. A variable may be declared as a constant which will prevent any changes to its value during execution. This is done by placing the keyword "Constant" before the variable declaration. It is typically only useful when used with default values - the default value becomes the value of the constant. Constants may be used to set array sizes or anywhere else that a numerical constant can be used. Constants allow some compiler optimizations that variables preclude.
There are both numeric and text constants.
Topics in this section: