You can use the same entry screen as for Functions and Macros to enter a name for a constant and its numeric value for use in your program.
Function/macro name VAT
Type Macro
Function/Macro text
17.5
The use of numeric constants has the following benefits:
You can refer to a constant by the same name in any QA Build program on your database
The use of a constant name can improve the readability of your formulas
If the numeric constant ever changes, you need make only 1 change
|
Example Constants: |
|
|
|
DELETE |
3 |
The value −3 is substituted in a formula such as OPTION_NR DELETE |
|
PLUS |
+ |
The formula A PLUS B evaluates to A + B |