Slick V3.3 User Manual

Page of 568
Using the Calculator and Math Commands
The Calculator
To access the calculator, click Tools
Calculator, or use the calculator command.
Figure 8.8. The SlickEdit
®
Calculator
You can use the calculator in various ways. Type in mathematical expressions from the keyboard or by
clicking buttons, including parentheses. Almost all the editing keys including undo, next word, and previ-
ous word are supported. The calculator uses a slightly enhanced C expression syntax. The calculator
supports specifying binary numbers and allows just an prefix when specifying hexadecimal numbers.
For example, to add the decimal numbers 135 and 288, type 135+288=. Press the character to evaluate
the expression and place the result on the next line. To see the result in a different base, click HexDec,
Oct, or Bin.
Calculating Expressions with Mixed Bases
The Calculator
323