Declaring Global Constants

Previous  Top  Next

To declare a global constant, right-click on the Code Explorer and select Module. The treeview will change to display the global section.

Click on the Declarations node – this will display two items in the listview: Constants and Variables.

Select the Constants item. If you have already declared some constants, they will be displayed in the Code Editor. If the Code Editor is blank, right-click the Constants item and select New – this will activate the Code Editor and add const to the first line.

Declare your constants using standard Object Pascal syntax.



_bm2