Overview: Using Constants

Constants, or Defines, exist at Internal, Global, and a Local level.

Level Scope
Internal Defines All the projects present on your machine
Global Defines All the programs within your project. These are user-defined.
Local definitions Only the current program currently open

How to define constants

  1. Double click on the Defines item in the Project Tree.
    Global Definitions
  2. Use the text editor to create the defines using the following syntax.
    #define   Identifier   Equivalence   (* comments *)

See Use the Defines List for more in-depth information.