Constants

Top  Previous  Next

This section is about functions and covers these topics:         

       

1. Open Constants Setting

2. Manage User Defined Constants

3. Add New Constant

4. Edit A Constant

 

 

1. Open Constants Setting

 

Select menu: Tools -> Options, and select "Constants" tab.

 

 

2. Manage User Defined Constants

 

Right click on constants table and you should see a popup menu, the usage of the menu items are:

 

New Constant: to define a new constant. A constant info dialog is showed to define the new constant.

 

Edit Constant: to edit the selected constant.

 

Delete Constant: to delete the selected constant.

 

Delete All Constants: to delete all user defined constants. You will get a prompt before deleting is performed.

 

constants

Popup menu for constant management

 

3. Add New Constant

 

In the constant info dialog, input the Constant name, value, and description(optional), press "Add" to save it. Before saving it, system will validate the constant name, value. If there are any problems, you will get an error message. You must fix all the problems before saving it successfully.

 

constant_info

Constant info dialog

 

4. Edit A Constant

 

It's very similar with "Add New Constant". In the constant info dialog, edit the value, and description(optional), press "Edit" to save it. System validates the constant value before saving it. The Constant Name is not editable.