A non-transitory computer-readable recording medium with an executable program stored thereon, wherein the program instructs a computer to:
- clear a value stored in a key transfer memory storage area;
- cause an entered numeral input area of a memory to store a first numerical value transferred from an external device;
- after causing the entered numeral input area to store the first numerical value transferred from the external device, determine whether a display can display the first numerical value stored in the entered numeral input area;
- in response to determining that the display cannot display the first numerical value stored in the entered numeral input area, refrain from causing the key transfer memory storage area to store the first numerical value stored in the entered numeral input area;
- and
- in response to determining that the display can display the first numerical value stored in the entered numeral input area:
- cause the key transfer memory storage area of the memory to store the first numerical value;
- then cause an entered numeral storage area of the memory and the entered numeral input area to store the first numerical value stored in the key transfer memory storage area;
- then cause a second numerical value input through a key input device comprising a plurality of input keys to be stored in the entered numeral input area instead of the first numerical value, while the first numerical value continues to be stored in the entered numeral storage area and the key transfer memory storage area;
- in response to a first operator of a first type being input through the key input device after transfer of the first numerical value from the external device and prior to the input of the second numerical value input through the key input device, cause an operator information area to store the first operator;
- and
- in response to a second operator of a second type being input through the key input device after the second numerical value is stored in the entered numeral input area while the first numerical value continues to be stored in the entered numeral storage area and the key transfer memory storage area and after the first operator is stored in the operator information area,
- perform an arithmetic operation defined by the first operator of the first type on the first numerical value stored in the entered numeral storage area and the second numeral stored in the entered numeral input area;
- and
- then cause the entered numeral storage area to store a result of the arithmetic operation instead of the first numerical value and the entered numeral input area to store the result of the arithmetic operation instead of the second numerical value,
- wherein the memory is further configured to secure therein an independent memory storage area,
- wherein the program further instructs the computer to:
- in response to an input through a memory storage key of the key input device, cause the independent memory storage area to store a numerical value obtained by processing the numerical value stored in the entered numeral input area;
- and
- in response to an input from a memory read key of the key input device, cause the entered numeral input area and the entered numeral storage area to store the numerical value stored in the independent memory storage area, and
- wherein processing to cause the entered numeral input area and the entered numeral storage area to store the value stored in the key transfer memory storage area and processing to cause the entered numeral input area and the entered numeral storage area to store the numerical value stored in the independent memory storage area are common processing.