Assume the following variables were assigned values by statement DO SET:
Table 202 Values for SUM Function Examples
Variable Name |
Value |
---|---|
A1 |
2 |
A2 |
3 |
A3B |
3 |
A1X |
3 |
A2X |
1 |
DB_CHKDBL@G0 |
1 |
DB_CHKDBL@G1 |
0 |
DB_CHKDBL@G2 |
1 |
DB_CHKDBL@G3 |
2 |
DB_CHKDBL |
3 |
Table 203 SUM Function Examples
Function |
Returns value: |
---|---|
SUM('A*') |
12 |
SUM('A?') |
5 |
SUM('A?X') |
4 |
SUM('DB_CHKDBL') |
7 |
Parent Topic |