1.DBG> EVALUATE 100.34 * (14.2 + 7.9)
2217.514
DBG>
This command uses the debugger as a calculator by multiplying
100.34 by (14.2 + 7.9).
2.DBG> EVALUATE/OCTAL X
00000001512
DBG>
This command evaluates the symbol X and displays the result in
octal radix.
3.DBG> EVALUATE TOTAL + CURR_AMOUNT
8247.20
DBG>
This command evaluates the sum of the values of two real
variables, TOTAL and CURR_AMOUNT.
4.DBG> DEPOSIT WILLING = TRUE
DBG> DEPOSIT ABLE = FALSE
DBG> EVALUATE WILLING AND ABLE
False
DBG>
In this example, the EVALUATE command evaluates the logical
AND of the current values of two Boolean variables, WILLING and
ABLE.
5.DBG> EVALUATE COLOR'FIRST
RED
DBG>
In this Ada example, this command evaluates the first element
of the enumeration type COLOR.