Using the calculator and math commands, The calculator, Calculating expressions with mixed bases – Slick EDIT V3.3 User Manual

Page 345: The slickedit, Calculator

Advertising
background image

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

The Calculator

323

Advertising