To add a class, primitive type, or interface constant
In the Class Browser, Primitive Types Browser, or Interface Browser, select the class, primitive type, or interface to which the constant is to be added.
Select the Add command from the Constants menu.
The Constants menu is available only when the tab of the Const folder is selected in the Properties List of the Class Browser or when the Primitive Types Browser or Interface Browser is the current window. (The Properties List folders are shown in the image under "Using the Class, Primitive Types, or Interface Browser", in Chapter 3.)
See also "Promoting a Local Constant to be a Type Constant", earlier in this chapter.
The Define Constant dialog, shown in the following image, is then displayed.