A Constant is a value that is given a name. Like a Variable, a constant is referred to in code by its name to retrieve its value. As well as being able to define constants, the ooPIC compiler has a number of predefined constant values that were named based on all of the possible states of all of the Object's properties. Each predefined constant starts with the two letters "cv" and is named in such a way as to indicate the state that it would put its associated property into. |