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 in 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 this syntax.
    #define   Identifier   Equivalence   (* comments *)

See Use the Defines List.