Constants
Positron8 · Revision 4.0.6.5 · PDF page 38
Named constants may be created in the same manner as variables. It can, also, be more informative to use a constant name instead of a constant value. Once a constant is declared at compile time, it cannot be changed later, hence the name ‘constant'.
Dim Name as Constant expression
Dim cMouse as 1
Dim cMice as (cMouse * 400)
Dim cMouse_PI as (cMouse + 3.14)
Although Dim can be uses to create constants, Symbol is more often used, and allow the code to be more easily understood because Symbol creates constants, while Dim can create constants and variables.
