Operations with memory 4

Most of desktop calculators hide one memory slot somewhere inside and allow to perform some operations with it: store current number, read number from this slot, sometimes to perform arithmetic operation with memory contents.

CCCalc features similar operations. They all can be performed using menu Memory or respective buttons of virtual keypad. There are six memory operations: store, read, plus, minus, multiply and divide.

The difference is that this "memory" is visible. It is simply an expression that is located within the same text with all others. To make this expression visible CCCalc opens second window with the same calculation history. New window contains its own caret of red color that marks the location where "memory operations" will take place.

To open or close this second window press F4. To switch between windows, use TAB.

Memory operations are described below. You may simply use this "memory" feature as you do with desktop calculators, or you can find your own new ways to use them for your convenience.

Operations

Memory set

Creates new expression like "X=X", where "X" is a number which is marked with the main caret. The window is split if necessary.

For example, if the caret is inside a number "123" then after Memory set operation you'll get an expression "123=123" at the page bottom. Red caret is set just below "=".

Memory read

Does nothing if the window is not split. Otherwise searches the result of the expression which is marked with red caret and copies it to the place marked with main blinking caret.

Memory add, subtract, multiply and divide

All these operations add corresponding operation sign to the location of red caret followed by the number that is marked by the blinking caret. The result of current "memory expression" is recalculated.

Consider for example that the blinking caret is inside a number "123", then:

  • [M+] means "+123", result is increased by 123
  • [M-]  means "-123", result is decreased by 123
  • [M*] means "*123", result is multiplied by 123
  • [M/]  means "/123", result is divided by 123

Hints

1. All memory operations are available from popup menu that appears on mouse right-click. Using this feature you can select the number for memory operation and the memory operation itself in one move.

2. All memory operation have hot keys that are easy to remember: just add Alt to regular operation button: [M+] is Alt+, [M-] is Alt-, [M*] is Alt*, [M/] is Alt/.
Memory set is Alt-Enter, memory read is Alt-Ins.

Next: Menu