Slick V3.3 manual Using the Calculator and Math Commands, Calculating Expressions with Mixed Bases

Models: V3.3

1 568
Download 568 pages 2.03 Kb
Page 345
Image 345

The Calculator

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 x 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 Hex, Dec, Oct, or Bin.

Calculating Expressions with Mixed Bases

323

Page 345
Image 345
Slick V3.3 manual Using the Calculator and Math Commands, Calculating Expressions with Mixed Bases