JP2018156456A - Computing device, computing method, and program - Google Patents

Computing device, computing method, and program Download PDF

Info

Publication number
JP2018156456A
JP2018156456A JP2017053392A JP2017053392A JP2018156456A JP 2018156456 A JP2018156456 A JP 2018156456A JP 2017053392 A JP2017053392 A JP 2017053392A JP 2017053392 A JP2017053392 A JP 2017053392A JP 2018156456 A JP2018156456 A JP 2018156456A
Authority
JP
Japan
Prior art keywords
data
calculation
change
display
line number
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2017053392A
Other languages
Japanese (ja)
Other versions
JP6926556B2 (en
Inventor
裕紀 吉川
Hironori Yoshikawa
裕紀 吉川
博明 吉澤
Hiroaki Yoshizawa
博明 吉澤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2017053392A priority Critical patent/JP6926556B2/en
Publication of JP2018156456A publication Critical patent/JP2018156456A/en
Priority to JP2021128003A priority patent/JP7136289B2/en
Application granted granted Critical
Publication of JP6926556B2 publication Critical patent/JP6926556B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Cash Registers Or Receiving Machines (AREA)
  • Calculators And Similar Devices (AREA)

Abstract

PROBLEM TO BE SOLVED: To display a column number easily understood by a user according to re-calculation operation even if a change is re-calculated by inputting a new amount of a deposit repeatedly after calculating the change by inputting the amount of a deposit in a computing device.SOLUTION: When numerical data are inputted again immediately after change data are calculated once, the numerical data inputted again are displayed in association with column number (tentative display) data "---" since it is unclear whether the numerical data are data on the amount of a deposit for re-calculating change data or numerical data for next calculation in a column number display mode "1". When a [CHANGE] (change function) key is inputted after this, the numerical data inputted again are overwritten and saved as data on the amount of a deposit. When computation data of [+][-][×][÷] are inputted, the numerical data inputted again are stored in accordance with a next column number as numerical data for next calculation.SELECTED DRAWING: Figure 1

Description

本発明は、お釣りの計算機能を備えた計算装置、計算方法、及びその制御プログラムに関する。   The present invention relates to a calculation device, a calculation method, and a control program having a change calculation function.

従来、商店等における顧客の支払額の計算、預り額の入力、お釣りの計算、及びその金額等の表示を行なう電子キャッシュレジスタが考えられている(例えば、特許文献1参照。)。   2. Description of the Related Art Conventionally, an electronic cash register that calculates a customer's payment amount at a store or the like, inputs a deposit amount, calculates a change, and displays the amount or the like has been considered (see, for example, Patent Document 1).

また、電卓であっても、計算式を入力して計算結果を表示した後に、預かり額を入力して[CHANGE](お釣り)キーを操作するだけで、お釣りの計算を行ない表示する製品が開発されている。   In addition, even with a calculator, a product has been developed that displays a calculation result by entering a calculation formula, and then calculates and displays a change by simply entering the deposit amount and operating the [CHANGE] key. Has been.

そして、前記支払額やお釣りを計算する操作に応じて、その計算過程の計算データを、例えば、加算,乗算,計算実行,お釣り等の演算データが入力される毎に、順番に増加する行番号を対応付けて表示させる機能を備えた電卓も考えられている。   Then, in accordance with the operation for calculating the payment amount and the change, the calculation data of the calculation process is changed to a line number that increases in order each time calculation data such as addition, multiplication, calculation execution, change, etc. is input. Calculators that have a function to display them in association with each other are also considered.

特開平09−035143号公報JP 09-035143 A

しかし従来の計算装置では、行番号を表示してお釣りの計算を分かりやすく行なうことはできなかった。   However, the conventional calculation device cannot display the line number and perform fishing calculation in an easy-to-understand manner.

本発明は、このような課題に鑑みなされたもので、行番号を表示して、お釣りの計算を分かりやすく行なうことが可能な計算装置、計算方法、及びその制御プログラムを提供することを目的とする。   The present invention has been made in view of such a problem, and an object of the present invention is to provide a calculation device, a calculation method, and a control program for displaying line numbers so that the change calculation can be easily understood. To do.

本発明に係る計算装置は、ユーザ操作に応じて入力された計算データに基づいて支払額データを算出する支払額算出手段と、前記支払額算出手段により支払額データが算出された後に、ユーザ操作に応じて第1数値データが入力された状態で、ユーザにより第1操作が行われると、前記第1数値データから前記支払額データを減算した第1お釣りデータを算出する第1お釣り算出手段と、前記計算データと、前記支払額データと、前記第1数値データと、前記第1お釣りデータとを含む表示データを表示させるとともに、前記表示データを表示させる際に順次更新される各行番号を対応付けて表示させる計算データ表示制御手段と、を備え、前記計算データ表示制御手段は、前記第1お釣りデータが表示された状態でユーザ操作に応じて第2数値データが入力されると、前記第2数値データと前記更新される行番号に代わる仮表示データとを併せて表示させるものである。   The calculation apparatus according to the present invention includes a payment amount calculation unit that calculates payment amount data based on calculation data input in response to a user operation, and a user operation after the payment amount data is calculated by the payment amount calculation unit. And a first change calculation means for calculating first change data obtained by subtracting the payment amount data from the first numerical data when a first operation is performed by the user in a state where the first numerical data is input according to Display the display data including the calculation data, the payment amount data, the first numerical data, and the first change data, and correspond to each row number that is sequentially updated when the display data is displayed. Calculation data display control means for displaying the first change data in response to a user operation in a state where the first change data is displayed. If the value data is input, it is intended to be displayed together with the temporary display data in place of the line number that is the update and the second numerical data.

本発明によれば、預り額を入力してお釣りを計算した後に、新たな預り額を入力してお釣りを再計算した場合でも、その再計算の操作に応じてユーザに分かり易く計算の状態を表示することが可能になる。   According to the present invention, after calculating the fishing amount by inputting the deposit amount, even when a new deposit amount is input and the fishing is recalculated, the calculation state is easily understood by the user according to the recalculation operation. It becomes possible to display.

本発明の計算装置の実施形態に係る電卓10(プリンタ付き電卓10A,一般電卓10B)の外観構成を示す正面図。The front view which shows the external appearance structure of the calculator 10 (Calculator 10A with a printer, General calculator 10B) which concerns on embodiment of the calculation apparatus of this invention. 前記プリンタ付き電卓10Aの電子回路の構成を示すブロック図。The block diagram which shows the structure of the electronic circuit of 10 A of said calculators with a printer. 前記プリンタ付き電卓10Aの計算データメモリ22cに保存された計算データの具体例(第1実施形態(行番号表示モード1〜3))を示す図。The figure which shows the specific example (1st Embodiment (line number display modes 1-3)) of the calculation data preserve | saved in the calculation data memory 22c of the said calculator 10A with a printer. 前記プリンタ付き電卓10Aの計算データメモリ22cに保存された計算データの具体例(第2実施形態(行番号表示モード4))を示す図。The figure which shows the specific example (2nd Embodiment (line number display mode 4)) of the calculation data preserve | saved in the calculation data memory 22c of the said calculator 10A with a printer. 前記プリンタ付き電卓10Aの計算データ表示処理(その1)を示すフローチャート。The flowchart which shows the calculation data display process (the 1) of 10 A of said calculators with a printer. 前記プリンタ付き電卓10Aの計算データ表示処理(その2)を示すフローチャート。The flowchart which shows the calculation data display process (the 2) of the said calculator 10A with a printer. 前記プリンタ付き電卓10Aの計算データ表示処理(その3(行番号表示モード切替え処理))を示すフローチャート。The flowchart which shows the calculation data display process (the 3 (line number display mode switching process)) of the said calculator 10A with a printer. 前記計算データ表示処理(その1)における行番号仮表示処理(SA)を示すフローチャート。The flowchart which shows the row number temporary display process (SA) in the said calculation data display process (the 1). 前記計算データ表示処理(その3(行番号表示モード切替え処理))でのユーザ操作に応じた表示動作を示す図。The figure which shows the display operation | movement according to user operation in the said calculation data display process (the 3 (line number display mode switching process)). 前記計算データ表示処理の第1実施形態(行番号表示モード「1」)のユーザ操作に応じた表示・印刷動作を示す図。The figure which shows the display / printing operation | movement according to user operation of 1st Embodiment (line number display mode "1") of the said calculation data display process. 前記計算データ表示処理の第1実施形態(行番号表示モード「2」「3」)のユーザ操作に応じた表示動作を示す図であり、同図(A1)〜(A13)は行番号表示モード「2」に応じた表示動作を示す図、同図(B1)〜(B13)は行番号表示モード「3」に応じた表示動作を示す図。It is a figure which shows the display operation according to user operation of 1st Embodiment (line number display mode "2" "3") of the said calculation data display process, The figure (A1)-(A13) is line number display mode. The figure which shows the display operation according to "2", The figure (B1)-(B13) is a figure which shows the display operation according to line number display mode "3".

以下図面により本発明の実施の形態について説明する。   Embodiments of the present invention will be described below with reference to the drawings.

図1は、本発明の計算装置の実施形態に係る電卓10の外観構成を示す正面図である。   FIG. 1 is a front view showing an external configuration of a calculator 10 according to an embodiment of a computing device of the present invention.

本実施形態では、前記電卓10を、図1(A)に示すプリンタ付き電卓10A、図1(B)に示す一般電卓10Bとして実現している。前記電卓10A,10Bは、プリンタ付きか否かとキーが異なるだけで、印刷以外は実質的に同じ処理を実行可能である。   In this embodiment, the calculator 10 is realized as a calculator with a printer 10A shown in FIG. 1A and a general calculator 10B shown in FIG. 1B. The calculators 10A and 10B can execute substantially the same processing except for printing except for whether or not a printer is attached.

前記電卓10は、前記プリンタ付き電卓10A,一般電卓10Bとして構成する他、計算機能を有する(計算データ表示処理プログラムが実装された)パーソナルコンピュータ、タブレット型コンピュータ、スマートフォン、携帯電話機、タッチパネル式PDA(personal digital assistants)、電子ブック、携帯ゲーム機等として構成することができる。   The calculator 10 is configured as the calculator with printer 10A and the general calculator 10B, and has a calculation function (implemented with a calculation data display processing program), a personal computer, a tablet computer, a smartphone, a mobile phone, a touch panel PDA ( personal digital assistants), electronic books, portable game machines, and the like.

なお、前記電卓10のような物理的なキー(ボタン)が実装されていない計算装置は、前記電卓10のキーと同様なソフトウェアキーボードを表示し、当該ソフトウェアキーボードに対するキー操作に応じて計算処理を実行する。また、前記プリンタ付き電卓10Aのような印刷装置が実装されていない計算装置は、近距離無線通信等により外部の印刷装置と通信接続し、当該印刷装置に印刷制御信号と印刷データを送信して印刷処理を実行する。   Note that a calculator such as the calculator 10 that is not equipped with physical keys (buttons) displays a software keyboard similar to the keys of the calculator 10, and performs calculation processing according to key operations on the software keyboard. Run. In addition, a computing device such as the calculator with printer 10A that is not mounted with a printing device is connected to an external printing device by short-range wireless communication or the like, and transmits a printing control signal and printing data to the printing device. Execute print processing.

図1(A)に示すプリンタ付き電卓10Aについて説明する。   A printer-equipped calculator 10A shown in FIG.

本実施形態におけるプリンタ付き電卓10Aには、加減乗除等の通常の計算機能、表示機能、印刷機能の他、ユーザ操作に応じて入力された数値データと「+」「−」「×」「÷」の演算データとに基づき合計(計算結果)データの計算を実行させる実行機能「=」、前記合計(計算結果)データである支払額データを対象に預り額データからお釣りデータを計算するお釣り機能「CHANGE」、前記計算機能と実行機能「=」とお釣り機能「CHANGE」との組み合わせからなる一連の計算データを保存する計算データ保存機能、この計算データ保存機能により保存された計算データを印刷する保存データ印刷機能等が備えられる。   In the calculator 10A with a printer in this embodiment, in addition to normal calculation functions such as addition, subtraction, multiplication, and division, a display function, and a printing function, numerical data input according to a user operation and “+”, “−”, “×”, and “÷”. "=" To execute the calculation of the total (calculation result) data based on the operation data of "", the change function to calculate the change data from the deposit amount data for the payment amount data which is the total (calculation result) data “CHANGE”, a calculation data storage function for storing a series of calculation data including a combination of the calculation function and the execution function “=” and the change function “CHANGE”, and the calculation data stored by the calculation data storage function is printed. A saved data printing function and the like are provided.

より詳細には、ユーザ操作に応じて入力された数値データと、ユーザ操作に応じて入力された演算データ「+」「−」「×」「÷」と、ユーザ操作に応じて入力された実行機能データ「=」とを、計算データとして後述の計算データメモリ22cに保存していき、前記実行機能「=」のキー操作を受け付けると、合計(計算結果)データの計算が実行され、合計(計算結果)データである支払額データが、計算データメモリ22cに保存された計算データに対応付けて保存される。また、ユーザ操作に応じて入力された預り額データとしての数値データと、ユーザ操作に応じたお釣り機能「CHANGE」のキー操作を受け付けると、預り額データとお釣り機能「CHANGE」データとお釣りデータとが、前記計算データメモリ22cに保存された計算データに対応付けて保存される。そして、保存データ印刷機能により計算データメモリ22cに保存された計算データが印刷され、さらに、計算データが合計された合計(計算結果)データが印刷され、さらに、お釣り機能「CHANGE」に対応付けられた計算データ中の預り額データと前記預り額データから前記合計(計算結果)データである支払額データを減算したお釣りデータとが印刷される。   More specifically, numerical data input according to a user operation, calculation data “+”, “−”, “×”, “÷” input according to a user operation, and an execution input according to the user operation The function data “=” is stored as calculation data in a calculation data memory 22c, which will be described later. When the key operation of the execution function “=” is received, calculation of the total (calculation result) data is executed, and the total ( Payment amount data, which is calculation results) data, is stored in association with the calculation data stored in the calculation data memory 22c. Also, when the numeric data as deposit amount data input according to the user operation and the key operation of the change function “CHANGE” according to the user operation are received, the deposit amount data, the change function “CHANGE” data and the change data are Are stored in association with the calculation data stored in the calculation data memory 22c. Then, the calculation data stored in the calculation data memory 22c is printed by the stored data printing function, and the total (calculation result) data obtained by summing the calculation data is printed, and further associated with the change function “CHANGE”. The deposit amount data in the calculated data and the change data obtained by subtracting the payment amount data as the total (calculation result) data from the deposit amount data are printed.

なお、本実施形態における電卓10Aの計算データ保存機能は、ユーザ操作に応じて、数値データと演算データ「+」「−」「×」「÷」の組み、数値データと実行機能データ「=」の組み、数値データ(預り額データ)とお釣り機能データ「CHANGE」の組みからなる一連の計算データが順次入力されて表示される際と、前記実行機能データ「=」の入力に応じて計算実行された合計(計算結果)データが表示される際と、前記お釣り機能データ「CHANGE」の入力に応じて計算されたお釣りデータが表示される際とにおいて、表示されたそれぞれの計算データを前記計算データメモリ22cに順番に保存するその保存先の行番号を併せて表示する行番号表示機能を有し、さらに、前記お釣り機能データ「CHANGE」の入力直後に再び数値データ(預り額データ)とお釣り機能データ「CHANGE」の組みからなる計算データが入力されて表示される際に、当該再入力された計算データとそのお釣りデータの保存先の行番号をユーザに分かり易く表示する行番号仮表示機能を有する。   The calculation data storage function of the calculator 10A according to the present embodiment is a combination of numerical data and operation data “+”, “−”, “×”, “÷”, numerical data, and execution function data “=” in accordance with a user operation. When a series of calculation data consisting of a combination of numerical data (deposit amount data) and change function data “CHANGE” is sequentially input and displayed, calculation is executed according to the input of the execution function data “=”. When the total (calculation result) data displayed is displayed and when the change data calculated in response to the input of the change function data “CHANGE” is displayed, the calculated data displayed is calculated as described above. The data memory 22c has a line number display function for displaying the line numbers of the storage destinations to be stored in order, and the numeric data (deposit amount) immediately after the change function data “CHANGE” is input. Data) and change function data “CHANGE”, when the calculation data is input and displayed, the re-input calculation data and the line number where the change data is stored are displayed to the user in an easy-to-understand manner. It has a temporary number display function.

前記プリンタ付き電卓10は、机上に置いて操作し易い置き型の本体ケースの手前側にキー入力部11を備え、キー入力部11の奥側に表示部12、印刷部13を備えている。   The calculator 10 with a printer includes a key input unit 11 on the front side of a place-type main body case that is easy to operate on a desk, and includes a display unit 12 and a printing unit 13 on the back side of the key input unit 11.

前記キー入力部11には、数値キー、演算キー、実行機能キー、お釣り機能キー、印刷機能キー、その他の機能キーが設けられる。   The key input unit 11 is provided with numeric keys, calculation keys, execution function keys, fishing function keys, printing function keys, and other function keys.

前記数値キーは、例えば[00][0]〜[9]のそれぞれに対応する複数のキーを含む。前記演算キーは、例えば[+](加算)キー、[−](減算)キー、[×](乗算)キー、[÷](除算)キーのそれぞれに対応する複数のキーを含み、前記実行機能キーは[=](イコール)キーである。   The numerical keys include a plurality of keys corresponding to, for example, [00] [0] to [9]. The calculation keys include a plurality of keys corresponding to, for example, a [+] (addition) key, a [−] (subtraction) key, a [×] (multiplication) key, and a [÷] (division) key. The function key is a [=] (equal) key.

前記お釣り機能キーは、入力された数値データを預り額データとし、前記合計データである支払額データを減算してお釣りデータを計算させる[CHANGE](お釣り機能)キー11dを含む。   The change function key includes a [CHANGE] (change function) key 11d that uses the input numerical data as deposit amount data and subtracts the payment amount data as the total data to calculate the change data.

前記印刷機能キーは、[PRT](プリントモード)キー11a、[REPRINT](保存データ印刷)キー11eを含む。前記[PRT](プリントモード)キー11aは、プリントモードのON/OFFを切り替える。   The print function keys include a [PRT] (print mode) key 11a and a [REPRINT] (stored data print) key 11e. The [PRT] (print mode) key 11a switches the print mode ON / OFF.

その他の機能キーには、例えばオールクリアキー([AC]キー11b)、クリアキー([C]キー)などが含まれる。   Other function keys include, for example, an all clear key ([AC] key 11b), a clear key ([C] key), and the like.

前記表示部12は、ドットマトリクス型の液晶表示ユニットからなる。表示部12には、キー入力部11のキーに対する操作により入力された数値データや計算結果の数値データが表示される。また、表示部12の辺に沿って設けられた状態表示エリアには、表示中の計算データの保存先の行番号、表示中の数値データの内容(お釣り“CHANGE”)等、各種の状態を示す数字、文字、記号(シンボル)が表示される。   The display unit 12 comprises a dot matrix type liquid crystal display unit. The display unit 12 displays numerical data input by operating the keys of the key input unit 11 and numerical data of calculation results. In the status display area provided along the side of the display unit 12, various statuses such as the line number of the storage location of the calculation data being displayed and the content of the numerical data being displayed (change “CHANGE”) are displayed. Numbers, letters, and symbols (symbols) are displayed.

前記印刷部13は、例えば熱転写式の印刷機構を備え、前記[PRT](プリントモード)キー11aの操作に応じたプリントモードON/OFFの設定状態と前記[REPRINT]キー11eの操作状態とに基づいて、入力された数値データと演算データからなる計算データ、前記計算データを計算した合計(支払額)データやお釣りデータ等の計算結果データを記録紙Pに印刷して出力する。   The printing unit 13 includes, for example, a thermal transfer type printing mechanism, and is in a print mode ON / OFF setting state according to an operation of the [PRT] (print mode) key 11a and an operation state of the [REPRINT] key 11e. Based on this, the calculation data composed of the input numerical data and calculation data, the calculation result data such as the total (payment amount) data calculated from the calculation data and the change data are printed on the recording paper P and output.

図2は、前記プリンタ付き電卓10Aの電子回路の構成を示すブロック図である。   FIG. 2 is a block diagram showing a configuration of an electronic circuit of the calculator with printer 10A.

前記プリンタ付き電卓10Aの電子回路は、コンピュータであるCPU(プロセッサ)21を備えている。前記CPU21は、メモリ22に記憶される計算機制御プログラムに従い回路各部の動作を制御し、前記キー入力部11のユーザ操作に応じた各種の計算機能や計算データの印刷機能を実行する。   The electronic circuit of the calculator 10A with a printer includes a CPU (processor) 21 that is a computer. The CPU 21 controls the operation of each part of the circuit according to a computer control program stored in the memory 22 and executes various calculation functions and calculation data printing functions according to user operations of the key input unit 11.

前記CPU(プロセッサ)21には、前記キー入力部11、表示部12、印刷部13、メモリ22が接続される他に、メモリカード等の外部記録媒体23に記録されたデータを読み取る記録媒体読取部24、外部機器(30)との通信を行なう通信部25も接続される。なお、前記一般電卓20Bの場合は前記印刷部13を備えない。   The CPU (processor) 21 is connected to the key input unit 11, the display unit 12, the printing unit 13, and the memory 22, and reads a recording medium that reads data recorded on an external recording medium 23 such as a memory card. A communication unit 25 that communicates with the unit 24 and the external device (30) is also connected. In the case of the general calculator 20B, the printing unit 13 is not provided.

前記計算機制御プログラムは、前記メモリ22に予め記憶されるか、外部記録媒体23から記録媒体読取部24により読み取られて前記メモリ22に記憶されるか、通信ネットワークN上のWebサーバ(プログラムサーバ)30から前記通信部25を介してダウンロードされ前記メモリ22に記憶される。   The computer control program is stored in advance in the memory 22, or is read from the external recording medium 23 by the recording medium reading unit 24 and stored in the memory 22, or a Web server (program server) on the communication network N 30 is downloaded via the communication unit 25 and stored in the memory 22.

前記計算機制御プログラムには、ユーザ操作に応じた各種の計算処理プログラムの他、前記計算処理プログラムに従い実行される計算処理の計算データを表示するための計算データ表示処理プログラム22aが含まれる。   The computer control program includes a calculation data display processing program 22a for displaying calculation data of calculation processing executed in accordance with the calculation processing program in addition to various calculation processing programs according to user operations.

また、前記メモリ22には、PRINTモードメモリ22b、計算データメモリ22c、行番号データ/行番号仮表示データメモリ22d、行番号表示モードメモリ22e、支払額メモリ22fが確保される。なお、前記一般電卓20Bの場合は前記PRINTモードメモリ22bを備えない。   The memory 22 includes a PRINT mode memory 22b, a calculation data memory 22c, a line number data / line number temporary display data memory 22d, a line number display mode memory 22e, and a payment amount memory 22f. The general calculator 20B does not include the PRINT mode memory 22b.

前記PRINTモードメモリ22bには、前記[PRT](プリントモード)キー11aが操作される毎に切り替えられるプリントモードON又はプリントモードOFFの設定データが記憶される。なお、プリントモードONの状態では、計算データの入力・合計(支払額)・お釣りが確定(表示/印刷指示)する毎に印刷が行われる。   The print mode memory 22b stores print mode ON or print mode OFF setting data that is switched each time the [PRT] (print mode) key 11a is operated. In the state where the print mode is ON, printing is performed every time calculation data is input / total (payment amount) / change is confirmed (display / print instruction).

前記計算データメモリ22cには、ユーザ操作に応じて入力された一連の計算データが受け付けられて、順次増加される行番号に対応付けられたメモリエリアに保存される。   In the calculation data memory 22c, a series of calculation data input in response to a user operation is received and stored in a memory area associated with sequentially increasing row numbers.

図3、図4は、前記プリンタ付き電卓10Aの計算データメモリ22cに保存された計算データの具体例を示す図である。図3は入力された計算データの合計(支払額)データに対して[CHANGE]キー11dに従い異なる預り額データから繰り返しお釣りデータを再計算した場合に当該再計算に対応する計算データを上書きして保存する具体例(第1実施形態(行番号表示モード1〜3))を示す図、図4は入力された計算データの合計(支払額)データに対して[CHANGE]キー11dに従い異なる預り額データから繰り返しお釣りデータを再計算した場合に当該再計算に対応する計算データも新規に続けて保存する具体例(第2実施形態(行番号表示モード4))を示す図である。   3 and 4 are diagrams showing specific examples of calculation data stored in the calculation data memory 22c of the calculator with printer 10A. FIG. 3 overwrites the calculation data corresponding to the recalculation when the change data is repeatedly recalculated from different deposit amount data according to the [CHANGE] key 11d for the total (payment amount) data of the input calculation data. FIG. 4 shows a specific example of saving (first embodiment (line number display modes 1 to 3)). FIG. 4 shows different amounts of deposits according to the [CHANGE] key 11d for the total (payment amount) data of the input calculation data. It is a figure which shows the specific example (2nd Embodiment (line number display mode 4)) which preserve | saves the calculation data corresponding to the said recalculation newly newly when recalculating the change data repeatedly from data.

前記行番号データ/行番号仮表示データメモリ22dには、前記数値データと演算データを含む一連の計算データを受け付けて保存する計算データ保存モード、前記[REPRINT]キー11eの操作に応じたリプリントモード(保存データ印刷モード)の各モードにおいて、前記計算データメモリ22cの処理対象とするメモリエリアの行番号のデータが記憶される。また、前記行番号データ/行番号仮表示データメモリ22dには、前記計算データメモリ22cの処理対象とするメモリエリアの行番号のデータとは別に、前記[CHANGE]キー11dに従い異なる預り額データから繰り返しお釣りデータを再計算する場合に、前記表示部12の行番号の状態表示エリアに仮表示する行番号(仮表示)のデータが記憶される。   In the line number data / line number temporary display data memory 22d, a calculation data storage mode for receiving and storing a series of calculation data including the numerical data and calculation data, and a reprint mode corresponding to the operation of the [REPRINT] key 11e. In each mode (saved data print mode), data of the row number of the memory area to be processed in the calculation data memory 22c is stored. In addition, the line number data / line number provisional display data memory 22d stores different deposit amount data in accordance with the [CHANGE] key 11d, in addition to the line number data of the memory area to be processed in the calculation data memory 22c. When re-calculating repetitive change data, data of a row number (temporary display) to be temporarily displayed is stored in the row number status display area of the display unit 12.

ここで、前記行番号(仮表示)のデータについて説明する。   Here, the data of the row number (provisional display) will be described.

前記預り額データとしての数値データが入力され、[CHANGE](お釣り機能)キー11dの操作に従いお釣りデータが計算されて表示された直後に数値データが再入力された場合、当該再入力された数値データが、お釣りデータを再計算するために入力された数値データ(預り額データ)であるのか、次の計算の被演算数として入力された数値データであるかが不明である。   When numerical data as the deposit amount data is input and the numerical data is re-input immediately after the change data is calculated and displayed in accordance with the operation of the [CHANGE] (fishing function) key 11d, the re-input numerical value It is unclear whether the data is numerical data (deposit data) input to recalculate the change data or numerical data input as the operand for the next calculation.

この場合、行番号表示モード1では、前記行番号(仮表示)のデータを「―――」(又は空白)として仮表示させ、前記再入力された数値データの保存先の行番号を示さない。   In this case, in the line number display mode 1, the data of the line number (temporary display) is temporarily displayed as “——” (or blank), and the line number of the storage destination of the re-input numerical data is not indicated. .

また、行番号表示モード2では、前記再入力された数値データがお釣りデータを再計算するための預り額データであると仮定し、直前のお釣りデータの保存先である現在の行番号を(−1)した前記預り額データの上書き先となる行番号(仮表示)のデータを表示させる。   Further, in the line number display mode 2, it is assumed that the re-input numerical data is deposit amount data for recalculating change data, and the current line number that is the storage destination of the previous change data is (- 1) Display the data of the line number (provisional display) that becomes the overwriting destination of the deposit amount data.

また、行番号表示モード3では、前記再入力された数値データが次の計算の被演算数として入力された数値データであると仮定し、直前のお釣りデータの保存先である現在の行番号を(+1)した新たな行番号(仮表示)のデータを表示させる。   In line number display mode 3, it is assumed that the re-input numerical data is numerical data input as the number of operands for the next calculation, and the current line number that is the storage destination of the last fishing data is set. (+1) The data of the new line number (provisional display) is displayed.

なお、行番号表示モード4では、前記再入力された数値データが、お釣りデータを再計算するための預り額データであるか、次の計算の被演算数として入力された数値データであるかに関係なく、その数値データは順次更新される次の行番号のデータに対応する計算データメモリ22cのメモリエリアに保存されるので、当該計算データメモリ22cの処理対象とするメモリエリアの行番号のデータがそのまま表示され、前記行番号(仮表示)による表示は行われない。   In line number display mode 4, whether the re-input numerical data is deposit amount data for recalculating change data or numerical data input as the number of operands for the next calculation. Regardless, since the numerical data is stored in the memory area of the calculation data memory 22c corresponding to the data of the next row number to be sequentially updated, the data of the row number of the memory area to be processed in the calculation data memory 22c. Is displayed as it is, and display by the line number (temporary display) is not performed.

前記行番号表示モードメモリ22eには、前記行番号表示モード1〜4の中からユーザ操作に応じて設定された何れかの行番号表示モードnのデータが記憶される。   The line number display mode memory 22e stores data of any one of the line number display modes n set according to the user operation from among the line number display modes 1 to 4.

前記支払額メモリ22fには、前記数値データと演算データ「+」「−」「×」「÷」と実行機能データ「=」との組み合わせからなる計算データが入力された際に、当該実行機能データ「=」が入力される直前までに入力された数値までの合計(計算結果)データが支払額データとして記憶される。   When the calculation data including the combination of the numerical data, the calculation data “+”, “−”, “×”, “÷” and the execution function data “=” is input to the payment amount memory 22f, the execution function The total (calculation result) data up to the numerical value input immediately before the data “=” is input is stored as the payment amount data.

なお、前記支払額メモリ22fに記憶された合計(計算結果)データは、電源ON時の初期設定処理の際、又は前記[AC](オールクリア)キー11bが操作された際、又は前記[=](実行機能)キー11cが操作された後の最初の数値データが入力された際にクリアされる。   The total (calculation result) data stored in the payment amount memory 22f is stored in the initial setting process when the power is turned on, when the [AC] (all clear) key 11b is operated, or when the [= (Execution function) Cleared when the first numerical data after the key 11c is operated is input.

このように構成されたプリンタ付き電卓10Aは、前記CPU21が前記計算機制御プログラム(計算データ表示処理プログラム22a含む)に記述された命令に従い回路各部の動作を制御し、ソフトウエアとハードウエアとが協働して動作することにより、以下の動作説明で述べるような、各種の計算機能や計算データの表示・印刷機能を実現する。   In the calculator with a printer 10A configured as described above, the CPU 21 controls the operation of each part of the circuit in accordance with the instructions described in the computer control program (including the calculation data display processing program 22a), and the software and hardware cooperate. By operating and operating, various calculation functions and calculation data display / printing functions as described in the following operation description are realized.

次に、前記構成のプリンタ付き電卓10Aの動作について説明する。   Next, the operation of the calculator with printer 10A having the above configuration will be described.

図5,図6,図7は、前記プリンタ付き電卓10Aの計算データ表示処理(その1,2,3(行番号表示モード切替え処理))を示すフローチャートである。   5, 6 and 7 are flowcharts showing calculation data display processing (parts 1, 2, and 3 (line number display mode switching processing)) of the calculator with printer 10A.

図8は、前記計算データ表示処理(その1)における行番号仮表示処理(SA)を示すフローチャートである。   FIG. 8 is a flowchart showing a temporary row number display process (SA) in the calculation data display process (part 1).

前記プリンタ付き電卓10Aにおいて、ユーザ操作に応じて電源がONにされると、CPU21により、この電源のONに応じた初期設定の処理として、前記PRINTモードメモリ22bにプリントモード(ON)の設定データが記憶され、動作モードが計算データ保存モードに設定され、前記行番号データ/行番号仮表示データメモリ22dに行番号“0”のデータが記憶される(ステップS1)。   In the calculator with printer 10A, when the power is turned on in response to a user operation, the CPU 21 sets print mode (ON) setting data in the PRINT mode memory 22b as an initial setting process in response to the power on. Is stored, the operation mode is set to the calculation data storage mode, and the data of the line number “0” is stored in the line number data / line number temporary display data memory 22d (step S1).

前記プリントモード(ON)の状態で、前記[PRT](プリントモード)キー11aが操作されると(ステップS2(Yes))、前記プリントモード(ON)の設定データがプリントモード(OFF)の設定データに切り替えられる(ステップS3)。   When the [PRT] (print mode) key 11a is operated in the print mode (ON) state (step S2 (Yes)), the print mode (ON) setting data is set to the print mode (OFF) setting. The data is switched (step S3).

このように前記プリンタ付き電卓10Aでは、前記[PRT](プリントモード)キー11aの操作に応じて、プリントモード(ON)での動作状態とするか、プリントモード(OFF)での動作状態とするかを切り替えて設定することができる。   As described above, the calculator with printer 10A is set to the operation state in the print mode (ON) or the operation state in the print mode (OFF) according to the operation of the [PRT] (print mode) key 11a. Can be set by switching.

図9は、前記計算データ表示処理(その3(行番号表示モード切替え処理))でのユーザ操作に応じた表示動作を示す図である。   FIG. 9 is a diagram showing a display operation corresponding to a user operation in the calculation data display process (part 3 (line number display mode switching process)).

図9(A)に示すように、ユーザにより、[AC](オールクリア)キー11bと[CHANGE](お釣り機能)キー11dが同時に操作されると(ステップS4,S5(Yes))、行番号表示モードの設定を行なう表示状態となり、先ず、初期設定で行番号表示モード「1」の設定データが行番号表示モードメモリ22eに記憶される(ステップS5a)。   As shown in FIG. 9A, when the user operates the [AC] (all clear) key 11b and the [CHANGE] (changing function) key 11d at the same time (steps S4 and S5 (Yes)), the line number is changed. The display state for setting the display mode is entered. First, the setting data of the line number display mode “1” is stored in the line number display mode memory 22e as an initial setting (step S5a).

ここで、[=](実行機能)キー11cが操作されると、図9(A)→(B)→(C)→(D)→(A)に示すように、当該[=]キー11cの操作毎に、前記行番号表示モードが「1」→「2」→「3」→「4」→「1」の順で切り替えられて設定される(ステップS5b(Yes),S5c)。   Here, when the [=] (execution function) key 11c is operated, as shown in FIG. 9 (A) → (B) → (C) → (D) → (A), the [=] key 11c. For each operation, the line number display mode is switched and set in the order of “1” → “2” → “3” → “4” → “1” (steps S5b (Yes), S5c).

そして、前記[=]キー11c以外の他のキーが操作されると(ステップS5d(Yes))、前記ステップS2以降の処理に戻る。   When a key other than the [=] key 11c is operated (step S5d (Yes)), the processing returns to the processing after step S2.

(第1実施形態)
図10は、前記計算データ表示処理の第1実施形態(行番号表示モード「1」)のユーザ操作に応じた表示・印刷動作を示す図である。
(First embodiment)
FIG. 10 is a diagram showing a display / printing operation according to a user operation in the first embodiment of the calculation data display process (line number display mode “1”).

図10(A1)に示すように、[AC]キー11bが操作されると(ステップS4(Yes))、前記行番号のデータが改めて“0”にクリアされる(ステップS6)。   As shown in FIG. 10A1, when the [AC] key 11b is operated (step S4 (Yes)), the data of the row number is cleared to “0” again (step S6).

ここで、前記CPU21により、プリントモード(ON)の状態であると判断されると(ステップS7(Yes))、図10(B1)に示すように、前記プリントモード(ON)の状態での[AC](All Clear)キー11bの操作に応じた印刷であることを示す通常印刷開始マーク「・・0・・」が、前記印刷部13により記録紙Pに対して印刷される(ステップS8)。   When the CPU 21 determines that the print mode (ON) state is set (step S7 (Yes)), as shown in FIG. 10 (B1), the print mode (ON) state [ AC] (All Clear) key A normal print start mark “••••” indicating that printing is performed in response to the operation of the key 11b is printed on the recording paper P by the printing unit 13 (step S8). .

そして、図10(A2)に示すように、前記数値キーのユーザ操作に応じて、例えば商品価格である数値データ「120」が入力されると(ステップS9(Yes))、前記行番号のデータが(+1)されて“01”に更新され、前記表示部12に対して、前記入力された数値データ「120」が行番号“01”に対応付けて表示される(ステップS11)。この際、前記行番号のデータが“0”であった場合には、前記計算データメモリ22cの内容をクリアしてから前記行番号が“01”に更新される。   Then, as shown in FIG. 10 (A2), when numerical data “120”, for example, a product price is input in response to a user operation of the numerical key (step S9 (Yes)), the data of the row number (+1) and updated to “01”, and the input numerical data “120” is displayed on the display unit 12 in association with the line number “01” (step S11). At this time, if the data of the row number is “0”, the content of the calculation data memory 22c is cleared and then the row number is updated to “01”.

ここで、図10(A3)に示すように、[+](加算)キーが操作されると(ステップS12(Yes))、前記行番号データ/行番号仮表示データメモリ22dに記憶されている現在の行番号“01”に対応した前記計算データメモリ22c(図3(A)参照)のメモリエリアに、前記表示された数値データ「120」と前記[+](加算)キーにより入力された演算データ「+」からなる計算データが保存される(ステップS13)。   Here, as shown in FIG. 10 (A3), when the [+] (addition) key is operated (step S12 (Yes)), it is stored in the line number data / line number temporary display data memory 22d. The numerical data “120” displayed and the [+] (addition) key are input to the memory area of the calculation data memory 22c (see FIG. 3A) corresponding to the current line number “01”. Calculation data consisting of the calculation data “+” is stored (step S13).

そして、前記入力された演算データ「+」のシンボル“+”が表示部12に表示される(ステップS14)。なお、前記数値データと演算データとの組み合わせを2回以上連続して入力する連続計算が行われた場合は、直前に入力した数値データまでを含む合計(計算結果)データが表示される。   Then, the symbol “+” of the inputted calculation data “+” is displayed on the display unit 12 (step S14). In addition, when the continuous calculation which inputs the combination of the said numerical data and operation data continuously twice or more is performed, the total (calculation result) data including even the numerical data input immediately before is displayed.

ここで、前記プリントモード(ON)の状態であると判断されると(ステップS15(Yes))、図10(B1)に示すように、前記計算データメモリ22cの現在の行番号“01”に対応して保存された数値データ“120”と演算データ「+」が、前記記録紙Pに対して印刷される(ステップS16)。   If it is determined that the print mode (ON) is in effect (step S15 (Yes)), as shown in FIG. 10 (B1), the current line number “01” in the calculation data memory 22c is set. Correspondingly stored numerical data “120” and calculation data “+” are printed on the recording paper P (step S16).

この後、図10(A4)に示すように、次の商品価格である数値データ“240”が入力されると(ステップS9(Yes))、前記同様に、行番号データ/行番号仮表示データメモリ22dに記憶されている行番号が(+1)されて“02”に更新され、前記表示部12に対して、前記入力された数値データ“240”が行番号“02”に対応付けて表示される(ステップS11)。   Thereafter, as shown in FIG. 10 (A4), when numerical data “240”, which is the next commodity price, is input (step S9 (Yes)), the line number data / line number provisional display data is the same as described above. The line number stored in the memory 22d is incremented by (+1) and updated to “02”, and the input numerical data “240” is displayed on the display unit 12 in association with the line number “02”. (Step S11).

そして、図10(A5)に示すように、[=](実行機能)キー11cが操作されると(ステップS17(Yes))、前記入力された数値データ“240”と前記[=]キー11cに対応した実行機能データ「=」が、前記計算データメモリ22cの現在の行番号“02”に対応したメモリエリアに保存される(ステップS18)。   Then, as shown in FIG. 10A5, when the [=] (execution function) key 11c is operated (step S17 (Yes)), the input numerical data "240" and the [=] key 11c Is stored in the memory area corresponding to the current line number “02” of the calculation data memory 22c (step S18).

すると、行番号データ/行番号仮表示データメモリ22dに記憶されている行番号が(+1)されて“03”に更新され、前記計算データメモリ22cに保存された一連の計算データ「120+240=」の計算が実行され、その合計(計算結果)データ“360”が行番号“03”に対応付けて表示される。また、前記合計(計算結果)データ“360”が、前記計算データメモリ22cの現在の行番号“03”に対応したメモリエリアに保存される(ステップS19)。   Then, the line number stored in the line number data / line number temporary display data memory 22d is incremented by (+1) and updated to “03”, and a series of calculation data “120 + 240 =” stored in the calculation data memory 22c. The total (calculation result) data “360” is displayed in association with the line number “03”. The total (calculation result) data “360” is stored in the memory area corresponding to the current row number “03” of the calculation data memory 22c (step S19).

また、前記合計(計算結果)データ“360”は、支払額メモリ22fに保存される(ステップS20)。   The total (calculation result) data “360” is stored in the payment amount memory 22f (step S20).

そして、プリントモード(ON)の状態であると判断されると(ステップS21(Yes))、図10(B1)に示すように、前記計算データメモリ22cの行番号“02”に対応して保存された数値データ“240”と実行機能データ「=」、及び現在の行番号“03”に対応して保存された合計(計算結果)データ“360”が、前記記録紙Pに対して印刷される(ステップS22)。   If it is determined that the print mode (ON) is set (step S21 (Yes)), as shown in FIG. 10 (B1), the data is stored in correspondence with the row number “02” of the calculation data memory 22c. The numerical data “240”, the execution function data “=”, and the total (calculation result) data “360” stored corresponding to the current line number “03” are printed on the recording paper P. (Step S22).

ここで、ユーザ(店員)が、前記合計(計算結果)データである支払額データ“360”を対象に、顧客からの預り額に対するお釣りの計算を行なうために、図10(A6)(A7)に示すように、預り額としての数値データ(第1数値データ)“500”を入力し(ステップS9,S11(行番号“04”に更新))、[CHANGE](お釣り機能)キー11dを操作すると(ステップS23(Yes))、その直前にユーザ操作された機能がお釣り機能データ「CHANGE」であるか否か、つまりお釣りの計算を行なった直後であるか否かが判断される(ステップS24)。   Here, in order for the user (clerk) to calculate the change for the deposit amount from the customer for the payment data “360” which is the total (calculation result) data, FIG. 10 (A6) (A7) As shown, the numerical data (first numerical data) “500” is input as the deposit amount (steps S9 and S11 (updated to the line number “04”)), and the [CHANGE] (changing function) key 11d is operated. Then (step S23 (Yes)), it is determined whether or not the function operated by the user immediately before is the change function data “CHANGE”, that is, whether or not it is immediately after the change calculation is performed (step S24). ).

ここでは、直前にユーザ操作された機能がお釣り機能データ「CHANGE」ではなく、お釣りの計算を行なった直後ではないと判断されるので(ステップS24(No))、前記図10(A6)に示すように表示された預り額データとしての数値データ(第1数値データ)“500”から前記支払額メモリ22fに記憶されている支払額データ“360”を減算した計算結果データ“140”が、図10(A7)に示すように、お釣りデータ(第1お釣りデータ)として表示される(ステップS25)。   Here, since it is determined that the function operated by the user immediately before is not the change function data “CHANGE” but immediately after the change is calculated (step S24 (No)), the function shown in FIG. 10 (A6) is shown. The calculation result data “140” obtained by subtracting the payment amount data “360” stored in the payment amount memory 22f from the numerical value data (first numerical value data) “500” as the deposit amount data displayed as shown in FIG. 10 (A7), it is displayed as change data (first change data) (step S25).

そして、前記計算データメモリ22cの現在の行番号“04”のメモリエリアに、前記預り額データ“500”とお釣り機能データ「CHANGE」とが保存され、更に、前記行番号が(+1)されて“05”に更新され、前記計算結果データであるお釣りデータ“140”が保存される(ステップS26)。   The deposit amount data “500” and the change function data “CHANGE” are stored in the memory area of the current row number “04” of the calculation data memory 22c, and the row number is incremented by (+1). The data is updated to “05” and the change data “140”, which is the calculation result data, is stored (step S26).

そして、前記プリントモード(ON)である場合は(ステップS27(Yes))、図10(B2)に示すように、前記計算データメモリ22cに保存された預り額データ“500”とお釣りデータ“140”が記録紙Pに印刷される(ステップS28)。   When the print mode (ON) is selected (step S27 (Yes)), as shown in FIG. 10 (B2), the deposit amount data “500” and the change data “140” stored in the calculation data memory 22c. "Is printed on the recording paper P (step S28).

ここで、例えば、前記顧客が前記お釣りデータ(第1お釣りデータ)“140”の端数を無くしたいために、図10(A8)に示すように、ユーザ(店員)が、前記顧客から改めて差し出された預り額としての数値データ“560”を入力すると(ステップS9(Yes))、その直前にユーザ操作された機能がお釣り機能データ「CHANGE」である、つまりお釣りの計算を行なった直後であると判断され(ステップS10(Yes))、図8における行番号仮表示処理に移行される(ステップSA)。   Here, for example, since the customer wants to eliminate the fraction of the change data (first change data) “140”, as shown in FIG. 10 (A8), the user (clerk) gives the customer again from the customer. When the numerical data “560” as the deposited amount is input (step S9 (Yes)), the function operated by the user immediately before is the change function data “CHANGE”, that is, immediately after the change calculation is performed. Is determined (step S10 (Yes)), and the process proceeds to the temporary row number display process in FIG. 8 (step SA).

前記行番号仮表示処理では、先ず、前記行番号表示モードメモリ22eに記憶されている行番号表示モードの設定データに基づき、現在の行番号表示モードが「1」「2」「3」の何れであるかが判断される(ステップA1,A2)。   In the line number temporary display process, first, based on the line number display mode setting data stored in the line number display mode memory 22e, the current line number display mode is any one of “1”, “2”, and “3”. Is determined (steps A1, A2).

ここで、現在の行番号表示モード「1」と判断されると(ステップA1(Yes))、前記行番号データ/行番号仮表示データメモリ22dに行番号(仮表示)データ「―――」(又は空白)が記憶される(ステップA3)。   If it is determined that the current line number display mode is “1” (step A1 (Yes)), the line number (temporary display) data “——” is stored in the line number data / line number temporary display data memory 22d. (Or blank) is stored (step A3).

すると、現在の行番号“05”が(+1)されて“06”に更新されるものの、ここでは、図10(A8)に示すように、前記入力された数値データ“560”が前記行番号(仮表示)データ“―――”に対応付けられて表示される(ステップS11)。   Then, although the current line number “05” is (+1) and updated to “06”, here, as shown in FIG. 10 (A8), the input numerical data “560” is the line number. (Temporary display) Displayed in association with data "---" (step S11).

すなわちここでは、前記入力された数値データ“560”について、本電卓10Aとしては、当該数値データ“560”がお釣りデータを再計算するために入力された数値データ(預り額データ)であるのか、次の計算の被演算数として入力された数値データであるかが不明であるため、前記行番号(仮表示)データ「―――」(又は空白)を表示させ、前記入力された数値データ“560”の保存先の行番号を示さない。   That is, here, regarding the input numerical data “560”, the calculator 10A determines whether the numerical data “560” is numerical data (deposit amount data) input to recalculate the change data. Since it is unknown whether the numerical data is input as the operand of the next calculation, the line number (temporary display) data “-” (or blank) is displayed, and the input numerical data “ 560 ″ does not indicate the storage destination line number.

そして、図10(A9)に示すように、[CHANGE](お釣り機能)キー11dが操作されると(ステップS23(Yes))、直前にユーザ操作された機能がお釣り機能データ「CHANGE」であり、お釣りの計算を行なった直後である(つまり今回の[CHANGE](お釣り機能)キー11dの入力は繰り返しの入力である)と判断される(ステップS24(Yes))。   Then, as shown in FIG. 10 (A9), when the [CHANGE] (fishing function) key 11d is operated (step S23 (Yes)), the function operated immediately before by the user is the fishing function data “CHANGE”. It is determined immediately after the change calculation is performed (that is, the current [CHANGE] (change function) key 11d is input repeatedly) (step S24 (Yes)).

すると、現在の行番号“06”が(−2)されて“04”に更新され(ステップS24a)、前記図10(A8)に示すように表示された今回の預り額データとしての数値データ(第2数値データ)“560”から前記支払額メモリ22fに記憶されている支払額データ“360”を減算した計算結果データ(第2お釣りデータ)“200”が、図10(A9)に示すように、お釣りデータとして改めて表示される(ステップS25)。   Then, the current line number “06” is (−2) and updated to “04” (step S24a), and the numerical data (the deposit amount data of this time displayed as shown in FIG. 10A8) ( Calculation result data (second change data) “200” obtained by subtracting the payment amount data “360” stored in the payment amount memory 22f from the second numerical data) “560” is as shown in FIG. 10 (A9). Are displayed again as change data (step S25).

そして、図3(B)に示すように、前記計算データメモリ22cの現在の行番号“04”のメモリエリアに、前記預り額データ(第2数値データ)“560”とお釣り機能データ「CHANGE」とが上書きで保存され、更に、前記行番号が(+1)されて“05”に更新され、前記計算結果データであるお釣りデータ(第2お釣りデータ)“200”が上書きで保存される(ステップS26)。   As shown in FIG. 3B, the deposit amount data (second numerical data) “560” and the change function data “CHANGE” are stored in the memory area of the current row number “04” of the calculation data memory 22c. And the line number is incremented by one (+1) and updated to “05”, and the fishing data (second fishing data) “200” as the calculation result data is saved by overwriting (step) S26).

そして、前記プリントモード(ON)である場合は(ステップS27(Yes))、図10(B3)に示すように、前記計算データメモリ22eに改めて保存された預り額データ“560”とお釣りデータ“200”が記録紙Pに印刷される(ステップS28)。   If the print mode (ON) is selected (step S27 (Yes)), as shown in FIG. 10 (B3), the deposit amount data “560” and the change data “restored in the calculation data memory 22e” are stored. 200 "is printed on the recording paper P (step S28).

ここで、図10(A10)に示すように、ユーザが、次の計算の被演算数としての数値データ“5”を入力すると(ステップS9(Yes))、前記同様に、お釣りの計算を行なった直後であると判断され(ステップS10(Yes))、図8における行番号仮表示処理に移行される(ステップSA)。   Here, as shown in FIG. 10 (A10), when the user inputs numerical data “5” as the number of operands of the next calculation (step S9 (Yes)), the change calculation is performed in the same manner as described above. (Step S10 (Yes)) and the process proceeds to the temporary line number display process in FIG. 8 (Step SA).

そして、現在の行番号表示モード「1」と判断され(ステップA1(Yes))、前記行番号データ/行番号仮表示データメモリ22dに行番号(仮表示)データ「―――」(又は空白)が記憶される(ステップA3)。   Then, it is determined that the current line number display mode is “1” (step A1 (Yes)), and line number (temporary display) data “——” (or blank) is stored in the line number data / line number temporary display data memory 22d. ) Is stored (step A3).

すると、現在の行番号“05”が(+1)されて“06”に更新されるものの、ここでは、図10(A10)に示すように、前記入力された数値データ“5”が前記行番号(仮表示)データ“―――”に対応付けられて表示される(ステップS11)。   Then, although the current line number “05” is (+1) and updated to “06”, here, as shown in FIG. 10 (A10), the input numerical data “5” is the line number. (Temporary display) Displayed in association with data "---" (step S11).

すなわちここでは、前記入力された数値データ“5”について、本電卓10Aとしては、当該数値データ“5”がお釣りデータを再計算するために入力された数値データ(預り額データ)であるのか、次の計算の被演算数として入力された数値データであるかが不明であるため、前記行番号(仮表示)データ「―――」(又は空白)を表示させ、前記入力された数値データ“5”の保存先の行番号を示さない。   That is, here, regarding the input numerical data “5”, the calculator 10A determines whether the numerical data “5” is numerical data (deposit amount data) input to recalculate the change data. Since it is unknown whether the numerical data is input as the operand of the next calculation, the line number (temporary display) data “-” (or blank) is displayed, and the input numerical data “ Does not indicate the line number of the storage destination of 5 ″.

そして、図10(A11)に示すように、[×](乗算)キーが操作されると(ステップS12(Yes))、現在の行番号“06”に対応した前記計算データメモリ22c(図3(B)参照)のメモリエリアに、前記表示された数値データ「5」と前記[×](乗算)キーにより入力された演算データ「×」からなる計算データが保存される(ステップS13)。   Then, as shown in FIG. 10A11, when the [×] (multiplication) key is operated (step S12 (Yes)), the calculation data memory 22c corresponding to the current line number “06” (FIG. 3). In the memory area (see (B)), calculation data composed of the displayed numerical data “5” and operation data “×” input by the [×] (multiplication) key is stored (step S13).

そして、前記入力された演算データ「×」のシンボル“×”が表示部12に表示される(ステップS14)。   Then, the symbol “x” of the inputted calculation data “x” is displayed on the display unit 12 (step S14).

ここで、前記プリントモード(ON)の状態であると判断されると(ステップS15(Yes))、図10(B3)に示すように、前記計算データメモリ22cの現在の行番号“06”に対応して保存された数値データ“5”と演算データ「×」が、前記記録紙Pに対して印刷される(ステップS16)。   If it is determined that the print mode (ON) is in effect (step S15 (Yes)), as shown in FIG. 10 (B3), the current line number “06” in the calculation data memory 22c is set. Correspondingly stored numerical data “5” and operation data “×” are printed on the recording paper P (step S16).

この後、図10(A12)に示すように、前記被演算数“5”に対する演算数である数値データ“110”が入力されると(ステップS9(Yes))、前記同様に、現在の行番号が(+1)されて“07”に更新され、前記表示部12に対して、前記入力された数値データ“110”が行番号“07”に対応付けて表示される(ステップS11)。   Thereafter, as shown in FIG. 10 (A12), when the numerical data “110”, which is the number of operations for the number of operands “5”, is input (step S9 (Yes)), the current row is similarly displayed. The number is incremented by (+1) and updated to “07”, and the input numerical data “110” is displayed on the display unit 12 in association with the row number “07” (step S11).

そして、図10(A13)に示すように、[=](実行機能)キー11cが操作されると(ステップS17(Yes))、前記入力された数値データ“110”と前記[=]キー11cに対応した実行機能データ「=」が、前記計算データメモリ22cの現在の行番号“07”に対応したメモリエリアに保存される(ステップS18)。   Then, as shown in FIG. 10A13, when the [=] (execution function) key 11c is operated (step S17 (Yes)), the input numerical data “110” and the [=] key 11c Is stored in the memory area corresponding to the current line number “07” of the calculation data memory 22c (step S18).

すると、現在の行番号が(+1)されて“08”に更新され、前記計算データメモリ22cに保存された一連の計算データ「5×110=」の計算が実行され、その合計(計算結果)データ“550”が行番号“08”に対応付けて表示される。また、前記合計(計算結果)データ“110”が、前記計算データメモリ22cの現在の行番号“08”に対応したメモリエリアに保存される(ステップS19)。   Then, the current line number is incremented by (+1) and updated to “08”, a series of calculation data “5 × 110 =” stored in the calculation data memory 22c is executed, and the total (calculation result) Data “550” is displayed in association with line number “08”. The total (calculation result) data “110” is stored in the memory area corresponding to the current row number “08” of the calculation data memory 22c (step S19).

そして、プリントモード(ON)の状態であると判断されると(ステップS21(Yes))、図10(B3)に示すように、前記計算データメモリ22cの行番号“07”に対応して保存された数値データ“110”と実行機能データ「=」、及び現在の行番号“08”に対応して保存された合計(計算結果)データ“550”が、前記記録紙Pに対して印刷される(ステップS22)。   If it is determined that the print mode is ON (step S21 (Yes)), as shown in FIG. 10 (B3), the data is stored in correspondence with the row number “07” of the calculation data memory 22c. The numerical data “110”, the execution function data “=”, and the total (calculation result) data “550” stored corresponding to the current line number “08” are printed on the recording paper P. (Step S22).

この後、ユーザが、前記合計(計算結果)データである支払額データ「360」と最終の預り額データ「560」とお釣りデータ「200」も含めた印刷の控えを得るために、図10(A14)に示すように、[REPRINT](保存データ印刷)キー11eを操作すると(ステップS29(Yes))、図10(B4)に示すように、前記[REPRINT]キー11eの操作に応じた一連の計算データの印刷であることを示す保存データ印刷開始マーク「・・・・0・・・・」が記録紙Pに印刷される(ステップS30)。   Thereafter, in order for the user to obtain a copy of the total (calculation result) data including the payment amount data “360”, the final deposit amount data “560”, and the change data “200”, FIG. When the [REPRINT] (stored data print) key 11e is operated (step S29 (Yes)) as shown in A14), a series corresponding to the operation of the [REPRINT] key 11e as shown in FIG. 10 (B4). The stored data print start mark “... 0,...” Indicating that the calculated data is to be printed is printed on the recording paper P (step S30).

そして、前記計算データメモリ22c(図3(B)参照)に保存されている一連の計算データが読み出され、図10(B4)に示すように、前記記録紙Pに「120+」「240=」「360*」「560」「200C=」「5×」「110=」「550」として再印刷される(ステップS31)。   Then, a series of calculation data stored in the calculation data memory 22c (see FIG. 3B) is read, and “120+” “240 =” is written on the recording paper P as shown in FIG. 10B4. “360 *” “560” “200C =” “5 ×” “110 =” “550” (step S31).

これにより、一連の計算データに対応した合計(計算結果)データである支払額データに対して、預り額データを入力してお釣りデータを一旦計算し表示させた直後に、異なる預り額データを再入力してお釣りデータを再計算するための数値データ(預り額データ)を入力したり、次の計算のための数値データを入力したりすることがあっても、当該入力された数値データは、前記行番号仮表示処理(モード1)に従い行番号(仮表示)データ“―――”(又は空白)に対応付けられて表示されるので、本電卓10Aとして、当該入力された数値データの保存先が現時点では不明であることを明確に示すことができる。   As a result, for the payment amount data that is the total (calculation result) data corresponding to a series of calculation data, immediately after inputting the deposit amount data and calculating and displaying the fishing data, the different deposit amount data is re-displayed. Even if you enter numeric data (deposit amount data) to recalculate fishing data and input numeric data for the next calculation, the entered numeric data In accordance with the temporary line number display process (mode 1), display is performed in association with the line number (provisional display) data “---” (or blank), so that the calculator 10A stores the input numerical data. It can clearly show that the destination is unknown at this time.

よって、預り額を入力してお釣りを計算した後に、繰り返し新たな預り額を入力してお釣りを再計算した場合でも、その再計算の操作に応じてユーザに分かり易い行番号を表示することが可能になる。   Therefore, even if you re-calculate fishing after repeatedly entering a new deposit amount after entering the deposit amount and calculating fishing, you can display line numbers that are easy to understand for the user according to the recalculation operation It becomes possible.

なお、前記プリンタ付き電卓10Aではなく、一般電卓10Bの場合は、前記計算データ表示処理のうち印刷に係る処理(ステップS2,S3,S7,S8,S15,S16,S21,S22,S27〜S31/図10(A14)(B1〜B4))を備えないだけであり、その他の処理は同じになる。   In the case of the general calculator 10B instead of the calculator 10A with the printer, the calculation data display process (steps S2, S3, S7, S8, S15, S16, S21, S22, S27 to S31 / FIG. 10 (A14) (B1 to B4)) is not provided, and other processes are the same.

図11は、前記計算データ表示処理の第1実施形態(行番号表示モード「2」「3」)のユーザ操作に応じた表示動作を示す図であり、同図(A1)〜(A13)は行番号表示モード「2」に応じた表示動作を示す図、同図(B1)〜(B13)は行番号表示モード「3」に応じた表示動作を示す図である。   FIG. 11 is a diagram showing a display operation in accordance with a user operation in the first embodiment of the calculation data display process (line number display modes “2” and “3”), and (A1) to (A13) in FIG. The figure which shows the display operation according to line number display mode "2", The figure (B1)-(B13) is a figure which shows the display operation according to line number display mode "3".

(行番号表示モード「2」)
前記図11(A1)〜(A13)に示す行番号表示モード「2」に応じた表示動作では、前記図10(A1)〜(A13)で示した行番号表示モード「1」に応じた表示動作に対して、お釣りデータを一旦計算して表示させた直後に数値データを入力したときの行番号(仮表示)データの表示動作(図11(A8)(A10))が異なる。
(Line number display mode “2”)
In the display operation corresponding to the line number display mode “2” shown in FIGS. 11A1 to 11A13, the display corresponding to the line number display mode “1” shown in FIGS. 10A1 to 10A13 is performed. The display operation of line number (temporary display) data (FIG. 11 (A8) (A10)) differs when the numerical data is input immediately after the change data is once calculated and displayed.

すなわち、図11(A1)〜(A5)に示すように計算された合計(計算結果)データ(支払額データ)“360”を対象に、図11(A6)に示すように、預り額データとしての数値データ“500”を入力し(ステップS9,S11)、図11(A7)に示すように、[CHANGE](お釣り機能)キー11dを操作する(ステップS23(Yes))。   That is, as shown in FIG. 11 (A6), the total amount (calculation result) data (payment amount data) “360” calculated as shown in FIGS. 11 (A1) to (A5) is used as deposit amount data. Is input (steps S9 and S11), and the [CHANGE] (fishing function) key 11d is operated as shown in FIG. 11 (A7) (step S23 (Yes)).

すると、前記預り額データとしての数値データ(第1数値データ)“500”から前記支払額データ“360”を減算した計算結果データ“140”がお釣りデータ(第1お釣りデータ)として表示され(ステップS25)、現在の行番号“04”のメモリエリア(図3(A)参照)に、前記預り額データ“500”とお釣り機能データ「CHANGE」が保存され、更に、前記行番号が(+1)されて“05”に更新され、前記計算結果データであるお釣りデータ“140”が保存される(ステップS26)。   Then, the calculation result data “140” obtained by subtracting the payment amount data “360” from the numerical data (first numerical data) “500” as the deposit amount data is displayed as change data (first change data) (step). S25) The deposit amount data “500” and the change function data “CHANGE” are stored in the memory area of the current row number “04” (see FIG. 3A), and the row number is (+1). Then, it is updated to “05”, and the change data “140” as the calculation result data is stored (step S26).

ここで、図11(A8)に示すように、ユーザ(店員)が、顧客から改めて差し出された預り額としての数値データ(第2数値データ)“560”を入力すると(ステップS9(Yes))、前記同様に、その直前にユーザ操作された機能がお釣り機能データ「CHANGE」である、つまりお釣りの計算を行なった直後であると判断され(ステップS10(Yes))、図8における行番号仮表示処理に移行される(ステップSA)。   Here, as shown in FIG. 11 (A8), when the user (store clerk) inputs numerical data (second numerical data) “560” as a deposit amount newly provided by the customer (step S9 (Yes)). In the same manner as described above, it is determined that the function operated by the user immediately before is the change function data “CHANGE”, that is, immediately after the change is calculated (step S10 (Yes)), and the line number in FIG. The process proceeds to a temporary display process (step SA).

前記行番号仮表示処理において、現在の行番号表示モード「2」と判断されると(ステップA2(Yes))、前記行番号データ/行番号仮表示データメモリ22dにおいて、現在の行番号“05”を(−1)した行番号(仮表示)データ「04」が記憶される(ステップA4)。   If it is determined that the current line number display mode is “2” in the temporary line number display process (step A2 (Yes)), the current line number “05” is stored in the line number data / line number temporary display data memory 22d. The line number (temporary display) data “04” in which “-1” is (−1) is stored (step A4).

すると、前記現在の行番号“05”が(+1)されて“06”に更新されるものの、ここでは、図11(A8)に示すように、前記入力された数値データ(預り額データ)“560”が前記行番号(仮表示)データ“04”に対応付けられて表示される(ステップS11)。   Then, although the current line number “05” is incremented by (+1) and updated to “06”, here, as shown in FIG. 11 (A8), the input numerical data (deposit amount data) “ 560 "is displayed in association with the line number (temporary display) data" 04 "(step S11).

すなわちここでは、前記入力された数値データ(第2数値データ)“560”について、本電卓10Aとしては、お釣りデータを再計算するための預り額データであると仮定し、直前のお釣りデータ(第1お釣りデータ)“140”の保存先である行番号“05”を(−1)した前記預り額データの上書き先となる行番号(仮表示)データ“04”を表示させる。   That is, here, regarding the input numerical data (second numerical data) “560”, the calculator 10A assumes that it is deposit amount data for recalculating the fishing data, and the previous fishing data (first data) (1 change data) The line number (temporary display) data “04” to be the overwriting destination of the deposit amount data obtained by (−1) the line number “05” which is the storage destination of “140” is displayed.

そして、図11(A9)に示すように、[CHANGE](お釣り機能)キー11dが操作されると(ステップS23(Yes))、直前にユーザ操作された機能がお釣り機能データ「CHANGE」であり、お釣りの計算を行なった直後である(つまり今回の[CHANGE](お釣り機能)キー11dの入力は繰り返しの入力である)と判断される(ステップS24(Yes))。   Then, as shown in FIG. 11 (A9), when the [CHANGE] (fishing function) key 11d is operated (step S23 (Yes)), the function operated by the user immediately before is the fishing function data “CHANGE”. It is determined immediately after the change calculation is performed (that is, the current [CHANGE] (change function) key 11d is input repeatedly) (step S24 (Yes)).

すると、現在の行番号“06”が(−2)されて“04”に更新され(ステップS24a)、前記図11(A8)に示すように表示された今回の預り額データとしての数値データ“560”から前記支払額メモリ22fに記憶されている支払額データ“360”を減算した計算結果データ(第2お釣りデータ)“200”が、図11(A9)に示すように、お釣りデータとして改めて表示される(ステップS25)。   Then, the current line number “06” is (−2) and updated to “04” (step S24a), and the numerical data “as deposit amount data” displayed as shown in FIG. 11 (A8) is displayed. The calculation result data (second change data) “200” obtained by subtracting the payment amount data “360” stored in the payment amount memory 22f from “560” is renewed as change data as shown in FIG. 11 (A9). It is displayed (step S25).

そして、前記同様に、図3(B)に示すように、前記計算データメモリ22cの現在の行番号“04”のメモリエリアに、前記預り額データ(第2数値データ)“560”とお釣り機能データ「CHANGE」とが上書きで保存され、更に、前記行番号が(+1)されて“05”に更新され、前記計算結果データであるお釣りデータ(第2お釣りデータ)“200”が上書きで保存される(ステップS26)。   Similarly to the above, as shown in FIG. 3B, in the memory area of the current row number “04” of the calculation data memory 22c, the deposit amount data (second numerical data) “560” and the change function The data “CHANGE” is overwritten and saved, and the line number is incremented by (+1) and updated to “05”, and the fishing data (second fishing data) “200” as the calculation result data is overwritten and saved. (Step S26).

ここで、図11(A10)に示すように、ユーザが、次の計算の被演算数としての数値データ“5”を入力すると(ステップS9(Yes))、前記同様に、お釣りの計算を行なった直後であると判断され(ステップS10(Yes))、図8における行番号仮表示処理に移行される(ステップSA)。   Here, as shown in FIG. 11 (A10), when the user inputs numerical data “5” as the number of operands of the next calculation (step S9 (Yes)), the change calculation is performed in the same manner as described above. (Step S10 (Yes)) and the process proceeds to the temporary line number display process in FIG. 8 (Step SA).

すると、現在の行番号表示モード「2」と判断され(ステップA2(Yes))、前記行番号データ/行番号仮表示データメモリ22dにおいて、現在の行番号“05”を(−1)した行番号(仮表示)データ「04」が記憶される(ステップA4)。   Then, it is determined that the current line number display mode is “2” (step A2 (Yes)), and the line where the current line number “05” is (−1) in the line number data / line number temporary display data memory 22d. Number (temporary display) data “04” is stored (step A4).

そして、現在の行番号“05”が(+1)されて“06”に更新されるものの、ここでは、図11(A10)に示すように、前記入力された数値データ“5”が前記行番号(仮表示)データ“04”に対応付けられて表示される(ステップS11)。   Then, although the current line number “05” is (+1) and updated to “06”, here, as shown in FIG. 11 (A10), the input numerical data “5” is the line number. (Temporary display) Displayed in association with data “04” (step S11).

すなわちここでも、前記入力された数値データ“5”について、本電卓10Aとしては、お釣りデータを再計算するための預り額データであると仮定し、直前のお釣りデータ“200”の保存先である行番号“05”を(−1)した行番号(仮表示)データ“04”を表示させる。   That is, here, the input numerical data “5” is assumed to be the deposit amount data for recalculating the change data for the calculator 10A, and is the storage destination of the previous change data “200”. The line number (temporary display) data “04” obtained by subtracting the line number “05” from (−1) is displayed.

そして、図11(A11)に示すように、[×](乗算)キーが操作されると(ステップS12(Yes))、現在の行番号“06”に対応した前記計算データメモリ22c(図3(B)参照)のメモリエリアに、前記表示された数値データ「5」と前記[×](乗算)キーにより入力された演算データ「×」からなる計算データが保存される(ステップS13)。   Then, as shown in FIG. 11 (A11), when the [×] (multiplication) key is operated (step S12 (Yes)), the calculation data memory 22c corresponding to the current line number “06” (FIG. 3). In the memory area (see (B)), calculation data composed of the displayed numerical data “5” and operation data “×” input by the [×] (multiplication) key is stored (step S13).

これにより、一連の計算データに対応した合計(計算結果)データである支払額データに対して、預り額データを入力してお釣りデータを一旦計算して表示させた直後に、異なる預り額データを再入力してお釣りデータを再計算するための数値データ(預り額データ)を入力したり、次の計算のための数値データを入力したりすることがあっても、前記行番号仮表示処理(モード2)に従い、当該入力された数値データは、お釣りデータを再計算するための預り額データであると仮定され、直前のお釣りデータの計算に伴い入力された預り額データの保存先である行番号(仮表示)データ“04”に対応付けられて表示される。このため、本電卓10Aとして、前記入力された数値データの保存先が現時点ではお釣りデータ再計算のために預り額データを上書きする保存先であることを明確に示すことができる。   As a result, immediately after entering the deposit amount data and calculating and displaying the fishing data for the payment amount data which is the total (calculation result) data corresponding to a series of calculation data, different deposit amount data is displayed. Even if numerical data (deposit amount data) for recalculating fishing data and inputting numerical data for the next calculation may be input, the line number provisional display process ( According to mode 2), the input numerical data is assumed to be deposit amount data for recalculating the change data, and is the storage destination of the deposit amount data input with the calculation of the last change data. It is displayed in association with number (temporary display) data “04”. For this reason, as the main calculator 10A, it is possible to clearly indicate that the storage location of the input numerical data is a storage location that overwrites the deposit amount data for recalculation of change data at the present time.

よって、預り額を入力してお釣りを計算した後に、繰り返し新たな預り額を入力してお釣りを再計算した場合でも、その再計算の操作に応じてユーザに分かり易い行番号を表示することが可能になる。   Therefore, even if you re-calculate fishing after repeatedly entering a new deposit amount after entering the deposit amount and calculating fishing, you can display line numbers that are easy to understand for the user according to the recalculation operation It becomes possible.

(行番号表示モード「3」)
前記図11(B1)〜(B13)に示す行番号表示モード「3」に応じた表示動作でも、前記行番号表示モード「2」の場合と同様に、前記図10(A1)〜(A13)で示した行番号表示モード「1」に応じた表示動作に対して、お釣りデータを一旦計算して表示させた直後に数値データを入力したときの行番号(仮表示)データの表示動作(図11(B8)(B10))が異なる。
(Line number display mode “3”)
Also in the display operation corresponding to the line number display mode “3” shown in FIGS. 11B1 to 11B13, as in the case of the line number display mode “2”, FIGS. 10A1 to 10A13 are performed. In contrast to the display operation corresponding to the line number display mode “1” shown in FIG. 1, the display operation of the line number (temporary display) data when the numerical data is input immediately after the change data is once calculated and displayed (see FIG. 11 (B8) (B10)) is different.

すなわち、図11(B1)〜(B5)に示すように計算された合計(計算結果)データ(支払額データ)“360”を対象に、図11(B6)に示すように、預り額データとしての数値データ(第1数値データ)“500”を入力し(ステップS9,S11)、図11(B7)に示すように、[CHANGE](お釣り機能)キー11dを操作する(ステップS23(Yes))。   That is, as shown in FIG. 11 (B6), the total amount (calculation result) data (payment amount data) “360” calculated as shown in FIGS. Numerical data (first numerical data) “500” is input (steps S9 and S11), and the [CHANGE] (fishing function) key 11d is operated as shown in FIG. 11 (B7) (step S23 (Yes)). ).

すると、前記預り額データとしての数値データ(第1数値データ)“500”から前記支払額データ“360”を減算した計算結果データ(第1お釣りデータ)“140”がお釣りデータとして表示され(ステップS25)、現在の行番号“04”のメモリエリア(図3(A)参照)に、前記預り額データ“500”とお釣り機能データ「CHANGE」が保存され、更に、前記行番号が(+1)されて“05”に更新され、前記計算結果データであるお釣りデータ(第1お釣りデータ)“140”が保存される(ステップS26)。   Then, calculation result data (first change data) “140” obtained by subtracting the payment amount data “360” from the numerical data (first numerical data) “500” as the deposit amount data is displayed as change data (step) S25) The deposit amount data “500” and the change function data “CHANGE” are stored in the memory area of the current row number “04” (see FIG. 3A), and the row number is (+1). Then, it is updated to “05”, and the change data (first change data) “140”, which is the calculation result data, is stored (step S26).

ここで、前記同様に、図11(B8)に示すように、ユーザ(店員)が、顧客から改めて差し出された預り額としての数値データ“560”(第2数値データ)を入力すると(ステップS9(Yes))、その直前にユーザ操作された機能がお釣り機能データ「CHANGE」である、つまりお釣りの計算を行なった直後であると判断され(ステップS10(Yes))、図8における行番号仮表示処理に移行される(ステップSA)。   Here, as described above, as shown in FIG. 11 (B8), when the user (store clerk) inputs numerical data “560” (second numerical data) as a deposit amount newly provided by the customer (step 2). S9 (Yes)), it is determined that the function operated by the user immediately before that is the fishing function data “CHANGE”, that is, immediately after the change calculation is performed (Step S10 (Yes)), and the line number in FIG. The process proceeds to a temporary display process (step SA).

前記行番号仮表示処理において、現在の行番号表示モード「3」と判断されると(ステップA2(No))、前記行番号データ/行番号仮表示データメモリ22dにおいて、現在の行番号“05”を(+1)した行番号(仮表示)データ「06」が記憶される(ステップA5)。   In the temporary line number display process, if it is determined that the current line number display mode is “3” (step A2 (No)), the current line number “05” is stored in the line number data / line number temporary display data memory 22d. The line number (temporary display) data “06” obtained by adding “+1” to “” is stored (step A5).

すると、前記現在の行番号“05”が(+1)されて“06”に更新されるものの、ここでは、図11(B8)に示すように、前記入力された数値データ(預り額データ)“560”が前記行番号(仮表示)データ“06”に対応付けられて表示される(ステップS11)。   Then, although the current line number “05” is (+1) and updated to “06”, here, as shown in FIG. 11 (B8), the input numerical data (deposited amount data) “ 560 "is displayed in association with the line number (temporary display) data" 06 "(step S11).

すなわちここでは、前記入力された数値データ“560”(第2数値データ)について、本電卓10Aとしては、次の計算の被演算数として入力された数値データであると仮定し、直前のお釣りデータ(第1お釣りデータ)“140”の保存先である行番号“05”を(+1)した新たな行番号(仮表示)のデータ“06”を表示させる。   That is, here, it is assumed that the input numerical data “560” (second numerical data) is the numerical data input as the operand of the next calculation for the calculator 10A, and the last change data (First change data) The data “06” of a new line number (provisional display) obtained by adding (+1) the line number “05” which is the storage destination of “140” is displayed.

そして、図11(B9)に示すように、[CHANGE](お釣り機能)キー11dが操作されると(ステップS23(Yes))、直前にユーザ操作された機能がお釣り機能データ「CHANGE」であり、お釣りの計算を行なった直後である(つまり今回の[CHANGE](お釣り機能)キー11dの入力は繰り返しの入力である)と判断される(ステップS24(Yes))。   Then, as shown in FIG. 11 (B9), when the [CHANGE] (fishing function) key 11d is operated (step S23 (Yes)), the function operated immediately before by the user is the fishing function data “CHANGE”. It is determined immediately after the change calculation is performed (that is, the current [CHANGE] (change function) key 11d is input repeatedly) (step S24 (Yes)).

すると、現在の行番号“06”が(−2)されて“04”に更新され(ステップS24a)、前記図11(B8)に示すように表示された今回の預り額データとしての数値データ(第2数値データ)“560”から前記支払額メモリ22fに記憶されている支払額データ“360”を減算した計算結果データ(第2お釣りデータ)“200”が、図11(B9)に示すように、お釣りデータとして改めて表示される(ステップS25)。   Then, the current line number “06” is (−2) and updated to “04” (step S24a), and the numerical data (the current deposit amount data displayed as shown in FIG. 11B8) ( Calculation result data (second change data) “200” obtained by subtracting the payment amount data “360” stored in the payment amount memory 22f from the second numerical data) “560” is as shown in FIG. 11 (B9). Are displayed again as change data (step S25).

そして、前記同様に、図3(B)に示すように、前記計算データメモリ22cの現在の行番号“04”のメモリエリアに、前記預り額データ(第2数値データ)“560”とお釣り機能データ「CHANGE」とが上書きで保存され、更に、前記行番号が(+1)されて“05”に更新され、前記計算結果データであるお釣りデータ(第2お釣りデータ)“200”が上書きで保存される(ステップS26)。   Similarly to the above, as shown in FIG. 3B, in the memory area of the current row number “04” of the calculation data memory 22c, the deposit amount data (second numerical data) “560” and the change function The data “CHANGE” is overwritten and saved, and the line number is incremented by (+1) and updated to “05”, and the fishing data (second fishing data) “200” as the calculation result data is overwritten and saved. (Step S26).

ここで、図11(B10)に示すように、ユーザが、次の計算の被演算数としての数値データ“5”を入力すると(ステップS9(Yes))、前記同様に、お釣りの計算を行なった直後であると判断され(ステップS10(Yes))、図8における行番号仮表示処理に移行される(ステップSA)。   Here, as shown in FIG. 11 (B10), when the user inputs numerical data “5” as the number of operands of the next calculation (step S9 (Yes)), the change calculation is performed in the same manner as described above. (Step S10 (Yes)) and the process proceeds to the temporary line number display process in FIG. 8 (Step SA).

すると、現在の行番号表示モード「3」と判断され(ステップA2(No))、前記行番号データ/行番号仮表示データメモリ22dにおいて、現在の行番号“05”を(+1)した行番号(仮表示)データ「06」が記憶される(ステップA5)。   Then, it is determined that the current line number display mode is “3” (step A2 (No)), and the line number obtained by adding (+1) the current line number “05” in the line number data / line number temporary display data memory 22d. (Tentative display) Data “06” is stored (step A5).

そして、現在の行番号“05”が(+1)されて“06”に更新されるものの、ここでは、図11(B10)に示すように、前記入力された数値データ“5”が前記行番号(仮表示)データ“06”に対応付けられて表示される(ステップS11)。   Then, although the current line number “05” is (+1) and updated to “06”, here, as shown in FIG. 11 (B10), the input numerical data “5” is the line number. (Temporary display) Displayed in association with data “06” (step S11).

すなわちここでも、前記入力された数値データ“5”について、本電卓10Aとしては、次の計算の被演算数として入力された数値データであると仮定し、直前のお釣りデータ“200”の保存先である行番号“05”を(+1)した新たな行番号(仮表示)のデータ“06”を表示させる。   That is, also here, regarding the input numerical data “5”, it is assumed that the calculator 10A is the numerical data input as the operand of the next calculation, and the storage destination of the immediately preceding fishing data “200” is assumed. The data “06” of the new row number (provisional display) obtained by adding (+1) the row number “05” is displayed.

そして、図11(B11)に示すように、[×](乗算)キーが操作されると(ステップS12(Yes))、現在の行番号“06”に対応した前記計算データメモリ22c(図3(B)参照)のメモリエリアに、前記表示された数値データ「5」と前記[×](乗算)キーにより入力された演算データ「×」からなる計算データが保存される(ステップS13)。   Then, as shown in FIG. 11 (B11), when the [×] (multiplication) key is operated (step S12 (Yes)), the calculation data memory 22c corresponding to the current line number “06” (FIG. 3). In the memory area (see (B)), calculation data composed of the displayed numerical data “5” and operation data “×” input by the [×] (multiplication) key is stored (step S13).

これにより、一連の計算データに対応した合計(計算結果)データである支払額データに対して、預り額データを入力してお釣りデータを一旦計算して表示させた直後に、異なる預り額データを再入力してお釣りデータを再計算するための数値データ(預り額データ)を入力したり、次の計算のための数値データを入力したりすることがあっても、前記行番号仮表示処理(モード3)に従い、当該入力された数値データは、次の計算の被演算数として入力された数値データであると仮定され、現在の行番号“05”を(+1)した新たな行番号(仮表示)データ“06”に対応付けられて表示される。このため、本電卓10Aとして、前記入力された数値データの保存先が、現時点では次の計算のために入力された数値データの保存先であることを明確に示すことができる。   As a result, immediately after entering the deposit amount data and calculating and displaying the fishing data for the payment amount data which is the total (calculation result) data corresponding to a series of calculation data, different deposit amount data is displayed. Even if numerical data (deposit amount data) for recalculating fishing data and inputting numerical data for the next calculation may be input, the line number provisional display process ( According to mode 3), the input numerical data is assumed to be numerical data input as the number of operands of the next calculation, and a new line number (temporary) obtained by adding (+1) the current line number “05”. Display) Displayed in association with data “06”. Therefore, the present calculator 10A can clearly indicate that the storage location of the input numerical data is the storage location of the numerical data input for the next calculation at the present time.

よって、預り額を入力してお釣りを計算した後に、繰り返し新たな預り額を入力してお釣りを再計算した場合でも、その再計算の操作に応じてユーザに分かり易い行番号を表示することが可能になる。   Therefore, even if you re-calculate fishing after repeatedly entering a new deposit amount after entering the deposit amount and calculating fishing, you can display line numbers that are easy to understand for the user according to the recalculation operation It becomes possible.

なお、前記行番号表示モード「3」での計算データ表示処理では、図11(B8)で示したように、お釣りデータを計算した直後に入力した数値データ(ここでは、預り額データ)“560”について、次の計算の被演算数として入力した数値データであると仮定し、現在の行番号“05”を(+1)した行番号(仮表示)データ“06”に対応付けて表示した(S9,S10,SA,S11)。そして、図11(B9)で示したように、[CHANGE](お釣り機能)キー11dの操作に従い、繰り返しのお釣りデータの計算であるとの判断から、前記入力した数値データ(預り額データ)“560”とお釣り機能データ「CHANGE」を、前回の預り額データの保存先である行番号“04”のメモリエリアに上書きして保存し、今回のお釣りデータ“200”を、行番号“05”のメモリエリアに上書きして保存し、当該行番号“05”に対応付けて表示した(S23,S24,S24a,S25,S26)。   In the calculation data display process in the line number display mode “3”, as shown in FIG. 11 (B8), numerical data (here, deposit amount data) “560” input immediately after the change data is calculated. "Is assumed to be numeric data input as the operand of the next calculation, and the current line number" 05 "is displayed in association with the line number (provisional display) data" 06 "obtained by adding (+1) ( S9, S10, SA, S11). Then, as shown in FIG. 11 (B9), in accordance with the operation of the [CHANGE] (fishing function) key 11d, the input numerical data (deposit amount data) “ 560 ”and the change function data“ CHANGE ”are overwritten and saved in the memory area of the line number“ 04 ”which is the storage destination of the previous deposit amount data, and the current change data“ 200 ”is saved to the line number“ 05 ”. The memory area is overwritten and saved, and is displayed in association with the row number “05” (S23, S24, S24a, S25, S26).

これに対し、前記[CHANGE](お釣り機能)キー11dの操作に従い、繰り返しのお釣りデータの計算であると判断した場合は、図11(B8´)に示すように、前記入力した数値データ(預り額データ)“560”を、その保存先(上書き先)である行番号“04”に対応付けて表示した後に、図11(B9)で示したように、今回のお釣りデータ“200”を、行番号“05”に対応付けて表示することで、再入力された数値データ(預り額データ)“560”から再計算されたお釣りデータ“200”までの上書きによる保存先をより分かり易く表示する構成としてもよい。   On the other hand, if it is determined that calculation of repeated change data is performed in accordance with the operation of the [CHANGE] (change function) key 11d, as shown in FIG. Forehead data) “560” is displayed in association with the storage number (overwrite destination) line number “04”, and then the current fishing data “200” is displayed as shown in FIG. By displaying in association with the line number “05”, the storage destination by overwriting from the re-input numerical data (deposit amount data) “560” to the recalculated change data “200” is displayed more easily. It is good also as a structure.

したがって、前記構成の電卓10(10A,10B)によれば、ユーザ操作に応じて、数値データと演算データ「+」「−」「×」「÷」の組み、数値データと実行機能データ「=」の組み、数値データ(預り額)とお釣り機能データ「CHANGE」の組みからなる一連の計算データが順次入力されて表示される際と、前記実行機能データ「=」の入力に応じて計算実行された合計(計算結果)データが表示される際と、前記お釣り機能データ「CHANGE」の入力に応じて計算されたお釣りデータが表示される際とにおいて、表示されたそれぞれの計算データを順次、計算データメモリ22cの行番号に対応付けて保存する計算データ保存モードを有し、前記それぞれの計算データはその保存先である行番号に対応付けて表示される。   Therefore, according to the calculator 10 (10A, 10B) having the above-described configuration, a combination of numerical data and operation data “+”, “−”, “×”, “÷”, numerical data, and execution function data “=” in accordance with a user operation. ", A series of calculation data consisting of numerical data (deposited amount) and change function data" CHANGE "are sequentially input and displayed, and the calculation is executed according to the execution function data" = " When the displayed total (calculation result) data is displayed and when the change data calculated according to the input of the change function data “CHANGE” is displayed, the displayed calculation data are sequentially displayed. There is a calculation data storage mode in which the calculation data is stored in association with the line number of the calculation data memory 22c, and each of the calculation data is displayed in association with the line number as the storage destination.

前記お釣りデータが一旦計算された直後に、繰り返し数値データ(預り額)とお釣り機能データ「CHANGE」が入力されてお釣りデータが再計算されると、再計算に伴う数値データ(預り額)とお釣り機能データ「CHANGE」の組みとそのお釣りデータは、直前のお釣りデータの計算に応じて保存された各データに上書きされて保存される。   Immediately after the change data is calculated, if the numerical data (deposit amount) and the change function data “CHANGE” are input and the change data is recalculated, the recalculation and the numeric data (deposit amount) are changed. The set of function data “CHANGE” and its change data are overwritten and stored in the data stored according to the calculation of the previous change data.

そして、前記お釣りデータが一旦計算された直後に、数値データが再入力された場合、当該再入力された数値データは、行番号表示モード「1」では、当該数値データがお釣りデータ再計算のための預り額データなのか次の計算のための数値データなのか不明のため、行番号(仮表示)データ「―――」(又は空白)に対応付けて表示させるようにしている。また、行番号表示モード「2」では、前記再入力された数値データは、お釣りデータを再計算するための預り額データであると仮定し、直前のお釣りデータの保存先である現在の行番号を(−1)した前回の預り額データの保存先に対応する行番号(仮表示)データに対応付けて表示させる。また、行番号表示モード「3」では、前記再入力された数値データは、次の計算の被演算数として入力された数値データであると仮定し、直前のお釣りデータの保存先である現在の行番号を(+1)した次の計算データの保存先に対応する行番号(仮表示)データに対応付けて表示させる。   Then, when the numerical data is re-input immediately after the change data is once calculated, the re-input numerical data is the re-calculation of the change data in the line number display mode “1”. Since it is unknown whether it is the deposit amount data or the numerical data for the next calculation, it is displayed in association with the line number (temporary display) data “-” (or blank). Further, in the line number display mode “2”, it is assumed that the re-input numerical data is deposit amount data for recalculating the change data, and the current line number that is the storage destination of the previous change data is assumed. (-1) is displayed in association with the line number (temporary display) data corresponding to the storage location of the previous deposit amount data. Further, in the line number display mode “3”, it is assumed that the re-input numerical data is the numerical data input as the operand of the next calculation, and the current change data storage destination is the current data. It is displayed in association with the line number (temporary display) data corresponding to the storage location of the next calculation data with the line number (+1).

この後、[CHANGE](お釣り機能)キー11dが入力された場合は、前記再入力された数値データは預り額データ(第2数値データ)として上書きで保存され、[+][−][×][÷]の演算データが入力された場合は、前記再入力された数値データは次の計算のための数値データとして次の行番号に対応付けて保存される。行番号表示モード「1」では、ユーザにより[CHANGE](お釣り機能)が操作されると、前記第2数値データから前記支払額データを減算した第2お釣りデータを算出する。   Thereafter, when the [CHANGE] (changing function) key 11d is input, the re-input numerical data is overwritten and saved as deposit amount data (second numerical data), and [+] [−] [× ] [÷] calculation data is input, the re-input numerical data is stored as numerical data for the next calculation in association with the next line number. In the line number display mode “1”, when [CHANGE] (a change function) is operated by the user, second change data obtained by subtracting the payment amount data from the second numerical data is calculated.

これにより、例えば、ユーザは、お釣りデータの再計算を行なう機会が頻繁にあるか無いかに応じて、予め前記行番号表示モード「1〜4」の何れかを選択して設定しておくことで、預り額を入力してお釣りを計算した後に、繰り返し新たな預り額を入力してお釣りを再計算した場合でも、その再計算の操作に応じてユーザに分かり易い行番号を表示させることが可能になる。   Thereby, for example, the user can select and set one of the line number display modes “1 to 4” in advance depending on whether or not there is an opportunity to recalculate change data frequently. Even if you re-calculate fishing after repeatedly entering a new deposit amount after entering the deposit amount and calculating the fishing, it is possible to display a line number that is easy to understand for the user according to the recalculation operation become.

そして、前記行番号表示モード「1〜3」の何れかに設定した場合は、お釣りデータの再計算に従い入力された数値データ(預り額データ)と再計算されたお釣りデータは、前記計算データメモリ22cの前回入力された数値データ(預り額データ)と前回計算されたお釣りデータの保存先に上書きで保存されるので、繰り返しお釣りデータを計算することがあっても、前記計算データメモリ22cのメモリエリアを節約して使用できる。   When the line number display mode is set to any one of “1 to 3”, the numerical data (deposit amount data) input according to the recalculation of the change data and the recalculation change data are stored in the calculation data memory. Since the numerical data (deposited amount data) input last time 22c and the previously calculated change data are overwritten and saved, even if the change data is repeatedly calculated, the memory of the calculation data memory 22c It can be used with saving area.

なお、前記各実施形態において記載した電卓10(10A,10B)による各処理の手法、すなわち、図5,図6,図7のフローチャートに示す計算データ表示処理(その1〜3)、図8のフローチャートに示す前記計算データ表示処理での行番号仮表示処理等の各手法は、何れもコンピュータに実行させることができるプログラムとして、メモリカード(ROMカード、RAMカード等)、磁気ディスク(フロッピ(登録商標)ディスク、ハードディスク等)、光ディスク(CD−ROM、DVD等)、半導体メモリ等の外部記録装置の媒体に格納して配布することができる。そして、表示機能を備えた電子式計算機のコンピュータ(CPU)は、この外部記録装置の媒体に記録されたプログラムを記憶装置に読み込み、この読み込んだプログラムによって動作が制御されることにより、前記各実施形態において説明した計算データ表示機能を実現し、前述した手法による同様の処理を実行することができる。   In addition, each processing method by the calculator 10 (10A, 10B) described in each embodiment, that is, the calculation data display process (parts 1 to 3) shown in the flowcharts of FIGS. Each method such as temporary line number display processing in the calculation data display processing shown in the flowchart is a program that can be executed by a computer as a memory card (ROM card, RAM card, etc.), magnetic disk (floppy (registered) (Trademark) disk, hard disk, etc.), optical disk (CD-ROM, DVD, etc.), semiconductor memory, etc., can be stored and distributed. Then, the computer (CPU) of the electronic computer having a display function reads the program recorded in the medium of the external recording device into the storage device, and the operation is controlled by the read program, so that each of the above embodiments is performed. The calculation data display function described in the embodiment can be realized, and the same processing by the method described above can be executed.

また、前記各手法を実現するためのプログラムのデータは、プログラムコードの形態として通信ネットワーク(N)上を伝送させることができ、この通信ネットワーク(N)に接続されたコンピュータ装置(プログラムサーバ)から前記プログラムのデータを、表示機能を備えた電子式計算機に取り込んで記憶装置に記憶させ、前述した計算データ表示機能を実現することもできる。   Further, program data for realizing each of the above methods can be transmitted on the communication network (N) in the form of a program code, and from a computer device (program server) connected to the communication network (N). The above-mentioned calculation data display function can also be realized by fetching the program data into an electronic computer having a display function and storing it in a storage device.

本願発明は、前記各実施形態に限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で種々に変形することが可能である。さらに、前記各実施形態には種々の段階の発明が含まれており、開示される複数の構成要件における適宜な組み合わせにより種々の発明が抽出され得る。例えば、各実施形態に示される全構成要件から幾つかの構成要件が削除されたり、幾つかの構成要件が異なる形態にして組み合わされても、発明が解決しようとする課題の欄で述べた課題が解決でき、発明の効果の欄で述べられている効果が得られる場合には、この構成要件が削除されたり組み合わされた構成が発明として抽出され得るものである。   The present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the scope of the invention when it is practiced. Further, each of the embodiments includes inventions at various stages, and various inventions can be extracted by appropriately combining a plurality of disclosed constituent elements. For example, even if some constituent elements are deleted from all the constituent elements shown in each embodiment or some constituent elements are combined in different forms, the problems described in the column of the problem to be solved by the invention If the effects described in the column “Effects of the Invention” can be obtained, a configuration in which these constituent requirements are deleted or combined can be extracted as an invention.

以下に、本願出願の当初の特許請求の範囲に記載された発明を付記する。   Hereinafter, the invention described in the scope of claims of the present application will be appended.

[請求項1]
ユーザ操作に応じて入力された計算データに基づいて支払額データを算出する支払額算出手段と、
前記支払額算出手段により支払額データが算出された後に、ユーザ操作に応じて第1数値データが入力された状態で、ユーザにより第1操作が行われると、前記第1数値データから前記支払額データを減算した第1お釣りデータを算出する第1お釣り算出手段と、
前記計算データと、前記支払額データと、前記第1数値データと、前記第1お釣りデータとを含む表示データを表示させるとともに、前記表示データを表示させる際に順次更新される各行番号を対応付けて表示させる計算データ表示制御手段と、
を備え、
前記計算データ表示制御手段は、前記第1お釣りデータが表示された状態でユーザ操作に応じて第2数値データが入力されると、前記第2数値データと前記更新される行番号に代わる仮表示データとを併せて表示させる、
計算装置。
[Claim 1]
Payment amount calculation means for calculating payment amount data based on calculation data input in response to a user operation;
After the payment amount data is calculated by the payment amount calculation means, when the first operation is performed by the user in a state where the first numerical value data is input according to the user operation, the payment amount is calculated from the first numerical value data. First change calculation means for calculating first change data obtained by subtracting data;
Display the display data including the calculation data, the payment amount data, the first numerical data, and the first change data, and associate each row number that is sequentially updated when the display data is displayed. Calculation data display control means to be displayed,
With
When the second numerical data is input in response to a user operation in a state where the first change data is displayed, the calculated data display control means is a temporary display that replaces the second numerical data and the updated line number. Display together with data,
Computing device.

[請求項2]
前記計算データ表示制御手段により前記第2数値データと前記仮表示データとが表示された状態で、ユーザにより前記第1操作が行われると、前記第2数値データから前記支払額データを減算した第2お釣りデータを算出する第2お釣り算出手段を備え、
前記計算データ表示制御手段は、前記第2お釣りデータが算出されると、前記第2お釣りデータと前記第1お釣りデータに対応づけて表示された行番号とを表示させる、
請求項1に記載の計算装置。
[Claim 2]
When the first operation is performed by the user in a state in which the second numerical data and the temporary display data are displayed by the calculation data display control means, the payment amount data is subtracted from the second numerical data. 2 With a second change calculation means for calculating change data,
When the second fishing data is calculated, the calculated data display control means displays the second fishing data and a line number displayed in association with the first fishing data.
The computing device according to claim 1.

[請求項3]
前記入力された計算データと、前記支払額データと、前記第1数値データと、前記第1お釣りデータとを、前記対応づけて表示された各行番号に対応付けて保存する計算データ保存手段を備え、
前記計算データ保存手段は、前記算出された第2お釣りデータを、前記第1お釣りデータを保存した保存先の行番号に対応付けて上書きして保存する、
請求項2に記載の計算装置。
[Claim 3]
Calculation data storage means for storing the input calculation data, the payment amount data, the first numerical data, and the first change data in association with each of the displayed line numbers. ,
The calculated data storage means stores the calculated second fishing data by overwriting it in association with the storage destination row number storing the first fishing data.
The calculation device according to claim 2.

[請求項4]
前記計算データ表示制御手段は、前記第2お釣りデータと、前記第1お釣りデータを保存した保存先の行番号とを併せて表示させる、
請求項3に記載の計算装置。
[Claim 4]
The calculation data display control means displays the second fishing data and the storage destination row number storing the first fishing data together.
The computing device according to claim 3.

[請求項5]
前記計算データ表示制御手段は、前記第1お釣りデータが表示された状態でユーザ操作に応じて第2数値データが入力されると、
第1モードでは、前記更新される行番号に代わる仮表示データとして、行番号を非表示として、所定のマーク又は空白を表示させ、
第2モードでは、前記更新される行番号に代わる仮表示データとして、第1数値データに対応づけられた行番号を表示させる、
請求項2ないし請求項4のいずれか1項に記載の計算装置。
[Claim 5]
The calculation data display control means, when the second numerical data is input in response to a user operation in a state where the first change data is displayed,
In the first mode, as temporary display data in place of the updated line number, the line number is not displayed, a predetermined mark or a blank is displayed,
In the second mode, the line number associated with the first numerical data is displayed as temporary display data in place of the updated line number.
The computing device according to any one of claims 2 to 4.

[請求項6]
前記仮表示データは空白データであるか又は数字以外のマークである、
請求項1に記載の計算装置。
[Claim 6]
The temporary display data is blank data or a mark other than a number,
The computing device according to claim 1.

[請求項7]
前記仮表示データは、前記計算データ保存手段により前記第1数値データとしての数値データを保存した保存先の行番号の数値データである、
請求項3に記載の計算装置。
[Claim 7]
The temporary display data is numerical data of a line number of a storage destination in which numerical data as the first numerical data is stored by the calculation data storage unit.
The computing device according to claim 3.

[請求項8]
前記仮表示データは、前記計算データ保存手段により前記第1お釣りデータを保存した保存先の行番号の次の行番号の数値データである、
請求項3に記載の計算装置。
[Claim 8]
The temporary display data is numerical data of a line number next to a storage destination line number in which the first change data is stored by the calculation data storage unit.
The computing device according to claim 3.

[請求項9]
前記第1操作は、お釣りキーの操作である、請求項1ないし請求項8のいずれか1項に記載の計算装置。
[Claim 9]
The calculation device according to claim 1, wherein the first operation is a change key operation.

[請求項10]
ユーザ操作に応じて入力された計算データに基づいて支払額データを算出する支払額算出ステップと、
前記支払額算出ステップにより支払額データが算出された後に、ユーザ操作に応じて第1数値データが入力された状態で、ユーザにより第1操作が行われると、前記第1数値データから前記支払額データを減算した第1お釣りデータを算出する第1お釣り算出ステップと、
前記計算データと、前記支払額データと、前記第1数値データと、前記第1お釣りデータとを含む表示データを表示させるとともに、前記表示データを表示させる際に順次更新される各行番号を対応付けて表示させる計算データ表示制御ステップと、
を備え、
前記計算データ表示制御ステップは、前記第1お釣りデータが表示された状態でユーザ操作に応じて第2数値データが入力されると、前記第2数値データと前記更新される行番号に代わる仮表示データとを併せて表示させる、
ことを特徴とする計算方法。
[Claim 10]
A payment calculation step for calculating payment data based on calculation data input in response to a user operation;
After the payment amount data is calculated by the payment amount calculation step, when a first operation is performed by the user in a state where the first numerical value data is input according to the user operation, the payment amount is calculated from the first numerical value data. A first change calculation step of calculating first change data obtained by subtracting data;
Display the display data including the calculation data, the payment amount data, the first numerical data, and the first change data, and associate each row number that is sequentially updated when the display data is displayed. Calculation data display control step to be displayed,
With
In the calculation data display control step, when the second numerical data is input in response to a user operation in a state where the first change data is displayed, the temporary display instead of the second numerical data and the updated line number is performed. Display together with data,
A calculation method characterized by that.

[請求項11]
計算装置のコンピュータを、
ユーザ操作に応じて入力された計算データに基づいて支払額データを算出する支払額算出手段、
前記支払額算出手段により支払額データが算出された後に、ユーザ操作に応じて第1数値データが入力された状態で、ユーザにより第1操作が行われると、前記第1数値データから前記支払額データを減算した第1お釣りデータを算出する第1お釣り算出手段、
前記計算データと、前記支払額データと、前記第1数値データと、前記第1お釣りデータとを含む表示データを表示させるとともに、前記表示データを表示させる際に順次更新される各行番号を対応付けて表示させる計算データ表示制御手段、
として機能させ、
前記計算データ表示制御手段は、前記第1お釣りデータが表示された状態でユーザ操作に応じて第2数値データが入力されると、前記第2数値データと前記更新される行番号に代わる仮表示データとを併せて表示させる、
コンピュータ読み込み可能なプログラム。
[Claim 11]
The computer of the computing device,
Payment amount calculation means for calculating payment amount data based on calculation data input in response to a user operation;
After the payment amount data is calculated by the payment amount calculation means, when the first operation is performed by the user in a state where the first numerical value data is input according to the user operation, the payment amount is calculated from the first numerical value data. First change calculation means for calculating first change data obtained by subtracting data;
Display the display data including the calculation data, the payment amount data, the first numerical data, and the first change data, and associate each row number that is sequentially updated when the display data is displayed. Calculation data display control means to be displayed,
Function as
When the second numerical data is input in response to a user operation in a state where the first change data is displayed, the calculated data display control means is a temporary display that replaces the second numerical data and the updated line number. Display together with data,
A computer-readable program.

10 …電卓
10A…プリンタ付き電卓
10B…一般電卓
11 …キー入力部
11a…[PRT](プリントモード)キー
11b…[AC](オールクリア)キー
11c…[=](実行機能)キー
11d…[CHANGE](お釣り機能)キー
11e…[REPRINT](保存データ印刷)キー
12 …表示部
13 …印刷部
P …記録紙
21 …CPU
22 …メモリ
22a…計算データ表示処理プログラム
22b…PRINTモードメモリ
22c…計算データメモリ
22d…行番号データ/行番号仮表示データメモリ
22e…行番号表示モードメモリ
22f…支払額メモリ
23 …外部記録媒体
24 …記録媒体読取部
25 …通信部
30 …Webサーバ
N …通信ネットワーク
DESCRIPTION OF SYMBOLS 10 ... Calculator 10A ... Calculator with printer 10B ... General calculator 11 ... Key input part 11a ... [PRT] (print mode) key 11b ... [AC] (all clear) key 11c ... [=] (execution function) key 11d ... [ [CHANGE] (changing function) key 11e... [REPRINT] (print stored data) key 12... Display section 13... Printing section P.
22 ... Memory 22a ... Calculation data display processing program 22b ... PRINT mode memory 22c ... Calculation data memory 22d ... Line number data / line number temporary display data memory 22e ... Line number display mode memory 22f ... Payment amount memory 23 ... External recording medium 24 ... Recording medium reading unit 25 ... Communication unit 30 ... Web server N ... Communication network

Claims (11)

ユーザ操作に応じて入力された計算データに基づいて支払額データを算出する支払額算出手段と、
前記支払額算出手段により支払額データが算出された後に、ユーザ操作に応じて第1数値データが入力された状態で、ユーザにより第1操作が行われると、前記第1数値データから前記支払額データを減算した第1お釣りデータを算出する第1お釣り算出手段と、
前記計算データと、前記支払額データと、前記第1数値データと、前記第1お釣りデータとを含む表示データを表示させるとともに、前記表示データを表示させる際に順次更新される各行番号を対応付けて表示させる計算データ表示制御手段と、
を備え、
前記計算データ表示制御手段は、前記第1お釣りデータが表示された状態でユーザ操作に応じて第2数値データが入力されると、前記第2数値データと前記更新される行番号に代わる仮表示データとを併せて表示させる、
計算装置。
Payment amount calculation means for calculating payment amount data based on calculation data input in response to a user operation;
After the payment amount data is calculated by the payment amount calculation means, when the first operation is performed by the user in a state where the first numerical value data is input according to the user operation, the payment amount is calculated from the first numerical value data. First change calculation means for calculating first change data obtained by subtracting data;
Display the display data including the calculation data, the payment amount data, the first numerical data, and the first change data, and associate each row number that is sequentially updated when the display data is displayed. Calculation data display control means to be displayed,
With
When the second numerical data is input in response to a user operation in a state where the first change data is displayed, the calculated data display control means is a temporary display that replaces the second numerical data and the updated line number. Display together with data,
Computing device.
前記計算データ表示制御手段により前記第2数値データと前記仮表示データとが表示された状態で、ユーザにより前記第1操作が行われると、前記第2数値データから前記支払額データを減算した第2お釣りデータを算出する第2お釣り算出手段を備え、
前記計算データ表示制御手段は、前記第2お釣りデータが算出されると、前記第2お釣りデータと前記第1お釣りデータに対応づけて表示された行番号とを表示させる、
請求項1に記載の計算装置。
When the first operation is performed by the user in a state in which the second numerical data and the temporary display data are displayed by the calculation data display control means, the payment amount data is subtracted from the second numerical data. 2 With a second change calculation means for calculating change data,
When the second fishing data is calculated, the calculated data display control means displays the second fishing data and a line number displayed in association with the first fishing data.
The computing device according to claim 1.
前記入力された計算データと、前記支払額データと、前記第1数値データと、前記第1お釣りデータとを、前記対応づけて表示された各行番号に対応付けて保存する計算データ保存手段を備え、
前記計算データ保存手段は、前記算出された第2お釣りデータを、前記第1お釣りデータを保存した保存先の行番号に対応付けて上書きして保存する、
請求項2に記載の計算装置。
Calculation data storage means for storing the input calculation data, the payment amount data, the first numerical data, and the first change data in association with each of the displayed line numbers. ,
The calculated data storage means stores the calculated second fishing data by overwriting it in association with the storage destination row number storing the first fishing data.
The calculation device according to claim 2.
前記計算データ表示制御手段は、前記第2お釣りデータと、前記第1お釣りデータを保存した保存先の行番号とを併せて表示させる、
請求項3に記載の計算装置。
The calculation data display control means displays the second fishing data and the storage destination row number storing the first fishing data together.
The computing device according to claim 3.
前記計算データ表示制御手段は、前記第1お釣りデータが表示された状態でユーザ操作に応じて第2数値データが入力されると、
第1モードでは、前記更新される行番号に代わる仮表示データとして、行番号を非表示として、所定のマーク又は空白を表示させ、
第2モードでは、前記更新される行番号に代わる仮表示データとして、第1数値データに対応づけられた行番号を表示させる、
請求項2ないし請求項4のいずれか1項に記載の計算装置。
The calculation data display control means, when the second numerical data is input in response to a user operation in a state where the first change data is displayed,
In the first mode, as temporary display data in place of the updated line number, the line number is not displayed, a predetermined mark or a blank is displayed,
In the second mode, the line number associated with the first numerical data is displayed as temporary display data in place of the updated line number.
The computing device according to any one of claims 2 to 4.
前記仮表示データは空白データであるか又は数字以外のマークである、
請求項1に記載の計算装置。
The temporary display data is blank data or a mark other than a number,
The computing device according to claim 1.
前記仮表示データは、前記計算データ保存手段により前記第1数値データとしての数値データを保存した保存先の行番号の数値データである、
請求項3に記載の計算装置。
The temporary display data is numerical data of a line number of a storage destination in which numerical data as the first numerical data is stored by the calculation data storage unit.
The computing device according to claim 3.
前記仮表示データは、前記計算データ保存手段により前記第1お釣りデータを保存した保存先の行番号の次の行番号の数値データである、
請求項3に記載の計算装置。
The temporary display data is numerical data of a line number next to a storage destination line number in which the first change data is stored by the calculation data storage unit.
The computing device according to claim 3.
前記第1操作は、お釣りキーの操作である、請求項1ないし請求項8のいずれか1項に記載の計算装置。   The calculation device according to claim 1, wherein the first operation is a change key operation. ユーザ操作に応じて入力された計算データに基づいて支払額データを算出する支払額算出ステップと、
前記支払額算出ステップにより支払額データが算出された後に、ユーザ操作に応じて第1数値データが入力された状態で、ユーザにより第1操作が行われると、前記第1数値データから前記支払額データを減算した第1お釣りデータを算出する第1お釣り算出ステップと、
前記計算データと、前記支払額データと、前記第1数値データと、前記第1お釣りデータとを含む表示データを表示させるとともに、前記表示データを表示させる際に順次更新される各行番号を対応付けて表示させる計算データ表示制御ステップと、
を備え、
前記計算データ表示制御ステップは、前記第1お釣りデータが表示された状態でユーザ操作に応じて第2数値データが入力されると、前記第2数値データと前記更新される行番号に代わる仮表示データとを併せて表示させる、
ことを特徴とする計算方法。
A payment calculation step for calculating payment data based on calculation data input in response to a user operation;
After the payment amount data is calculated by the payment amount calculation step, when a first operation is performed by the user in a state where the first numerical value data is input according to the user operation, the payment amount is calculated from the first numerical value data. A first change calculation step of calculating first change data obtained by subtracting data;
Display the display data including the calculation data, the payment amount data, the first numerical data, and the first change data, and associate each row number that is sequentially updated when the display data is displayed. Calculation data display control step to be displayed,
With
In the calculation data display control step, when the second numerical data is input in response to a user operation in a state where the first change data is displayed, the temporary display instead of the second numerical data and the updated line number is performed. Display together with data,
A calculation method characterized by that.
計算装置のコンピュータを、
ユーザ操作に応じて入力された計算データに基づいて支払額データを算出する支払額算出手段、
前記支払額算出手段により支払額データが算出された後に、ユーザ操作に応じて第1数値データが入力された状態で、ユーザにより第1操作が行われると、前記第1数値データから前記支払額データを減算した第1お釣りデータを算出する第1お釣り算出手段、
前記計算データと、前記支払額データと、前記第1数値データと、前記第1お釣りデータとを含む表示データを表示させるとともに、前記表示データを表示させる際に順次更新される各行番号を対応付けて表示させる計算データ表示制御手段、
として機能させ、
前記計算データ表示制御手段は、前記第1お釣りデータが表示された状態でユーザ操作に応じて第2数値データが入力されると、前記第2数値データと前記更新される行番号に代わる仮表示データとを併せて表示させる、
コンピュータ読み込み可能なプログラム。
The computer of the computing device,
Payment amount calculation means for calculating payment amount data based on calculation data input in response to a user operation;
After the payment amount data is calculated by the payment amount calculation means, when the first operation is performed by the user in a state where the first numerical value data is input according to the user operation, the payment amount is calculated from the first numerical value data. First change calculation means for calculating first change data obtained by subtracting data;
Display the display data including the calculation data, the payment amount data, the first numerical data, and the first change data, and associate each row number that is sequentially updated when the display data is displayed. Calculation data display control means to be displayed,
Function as
When the second numerical data is input in response to a user operation in a state where the first change data is displayed, the calculated data display control means is a temporary display that replaces the second numerical data and the updated line number. Display together with data,
A computer-readable program.
JP2017053392A 2017-03-17 2017-03-17 Arithmetic logic units, calculation methods, and programs Active JP6926556B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2017053392A JP6926556B2 (en) 2017-03-17 2017-03-17 Arithmetic logic units, calculation methods, and programs
JP2021128003A JP7136289B2 (en) 2017-03-17 2021-08-04 Display control device, display control method, and display control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017053392A JP6926556B2 (en) 2017-03-17 2017-03-17 Arithmetic logic units, calculation methods, and programs

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2021128003A Division JP7136289B2 (en) 2017-03-17 2021-08-04 Display control device, display control method, and display control program

Publications (2)

Publication Number Publication Date
JP2018156456A true JP2018156456A (en) 2018-10-04
JP6926556B2 JP6926556B2 (en) 2021-08-25

Family

ID=63715709

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2017053392A Active JP6926556B2 (en) 2017-03-17 2017-03-17 Arithmetic logic units, calculation methods, and programs
JP2021128003A Active JP7136289B2 (en) 2017-03-17 2021-08-04 Display control device, display control method, and display control program

Family Applications After (1)

Application Number Title Priority Date Filing Date
JP2021128003A Active JP7136289B2 (en) 2017-03-17 2021-08-04 Display control device, display control method, and display control program

Country Status (1)

Country Link
JP (2) JP6926556B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002278944A (en) * 2001-03-21 2002-09-27 Sharp Corp Shopping calculation processing method, information processor with shopping calculation function
JP2004046297A (en) * 2002-07-08 2004-02-12 Sharp Corp Shopping computer and shopping calculation program
JP2005250572A (en) * 2004-03-01 2005-09-15 Teraoka Seiko Co Ltd Pos register
JP2017016475A (en) * 2015-07-02 2017-01-19 カシオ計算機株式会社 Electronic equipment and calculation processing program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3637520B2 (en) * 1997-08-11 2005-04-13 有限会社エステートプランニング研究所 Desktop addition / subtraction / division / division calculator for easy verification and steady calculation
JP2016095587A (en) * 2014-11-12 2016-05-26 東芝テック株式会社 Mobile terminal device, commodity sales data processing device, and program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002278944A (en) * 2001-03-21 2002-09-27 Sharp Corp Shopping calculation processing method, information processor with shopping calculation function
JP2004046297A (en) * 2002-07-08 2004-02-12 Sharp Corp Shopping computer and shopping calculation program
JP2005250572A (en) * 2004-03-01 2005-09-15 Teraoka Seiko Co Ltd Pos register
JP2017016475A (en) * 2015-07-02 2017-01-19 カシオ計算機株式会社 Electronic equipment and calculation processing program

Also Published As

Publication number Publication date
JP6926556B2 (en) 2021-08-25
JP7136289B2 (en) 2022-09-13
JP2021180036A (en) 2021-11-18

Similar Documents

Publication Publication Date Title
JP6428734B2 (en) Tax calculation device, tax calculation method, program
US10684982B2 (en) Calculating device, calculating method, and computer readable recording medium
JP7136289B2 (en) Display control device, display control method, and display control program
JP6759766B2 (en) Tax calculators, tax calculators, and programs
JP7176603B2 (en) Computing device, computing method, and program
JP6635132B2 (en) Tax calculator, tax calculation method and tax calculation program
CN107870888B (en) Computing device, control method, and recording medium
JP7163705B2 (en) Calculators, calculation methods, and programs
CN107844452B (en) Arithmetic device, arithmetic printing method, and arithmetic program storage medium
JP6593505B1 (en) Computer, electronic device, setting method, and program
JP6816392B2 (en) Computational equipment, computational methods, and programs
JP7020528B2 (en) Data print control device, computer, data print control method, and data print control program
JP2020038722A (en) Tax calculator, tax calculating method, and tax calculating program
JP7416138B2 (en) Calculator, setting support method and program
JP6528483B2 (en) Computation processing device and program
JP7196958B2 (en) Computing device, print control method and program
JP6620907B1 (en) Computer, setting method, and program
JP6950344B2 (en) Arithmetic logic units, calculation methods, and programs
JP2018005529A (en) Calculation device, calculation method, and program
JP5381152B2 (en) Formula arithmetic device and program
JP2020057374A (en) Computer, computing method, and program
JP2003150563A (en) Calculator and calculation processing program
JP2007140811A (en) Information processor with function of inputting numerical value with decimal point and method for inputting numerical value with decimal point in information processor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200226

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210216

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210330

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210526

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20210706

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210719

R150 Certificate of patent or registration of utility model

Ref document number: 6926556

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150