JPH04132554U - small electronic calculator - Google Patents

small electronic calculator

Info

Publication number
JPH04132554U
JPH04132554U JP3863091U JP3863091U JPH04132554U JP H04132554 U JPH04132554 U JP H04132554U JP 3863091 U JP3863091 U JP 3863091U JP 3863091 U JP3863091 U JP 3863091U JP H04132554 U JPH04132554 U JP H04132554U
Authority
JP
Japan
Prior art keywords
data
key
input
previous
current
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.)
Pending
Application number
JP3863091U
Other languages
Japanese (ja)
Inventor
利幸 小沢
Original Assignee
カシオ計算機株式会社
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 カシオ計算機株式会社 filed Critical カシオ計算機株式会社
Priority to JP3863091U priority Critical patent/JPH04132554U/en
Publication of JPH04132554U publication Critical patent/JPH04132554U/en
Pending legal-status Critical Current

Links

Landscapes

  • Calculators And Similar Devices (AREA)

Abstract

(57)【要約】 【目的】この考案は、入力した演算式を入力順に表示し
て最後に演算処理するドットパターン表示式の小型電子
式計算機の改良に関するものである。 【構成】キー入力部1と、入力された演算式を演算処理
する制御部2と、演算処理されたデータを表示する表示
部7とを備えた小型電子式計算機であって、今回キー入
力された今回データを保持する今回キーレジスタ4と、
前回キー入力された前回データを保持する前回キーレジ
スタ5と、今回および前回キーレジスタ4,5に保持さ
れている双方のデータを比較し今回データと前回データ
が共に演算記号データである場合は今回データを選択
し、両データが小数点データの場合は前回データを選択
する判断を行うキー判断部6と、このキー判断部6によ
り選択されたデータを含む入力演算式を記憶保持するキ
ーバッファ3とを備えた構成になっている。
(57) [Summary] [Purpose] This invention relates to the improvement of a small electronic calculator with a dot pattern display that displays input arithmetic expressions in the order in which they are input and finally processes them. [Structure] A small electronic calculator equipped with a key input section 1, a control section 2 for processing input arithmetic expressions, and a display section 7 for displaying the processed data. This time key register 4 holds the current time data,
Compare the previous key register 5 that holds the previous data entered by the previous key with the data held in the current and previous key registers 4 and 5, and if the current data and the previous data are both operation symbol data, the current data is A key judgment section 6 which selects data and decides to select the previous data if both data are decimal point data, and a key buffer 3 which stores and holds an input calculation formula including the data selected by this key judgment section 6. It is configured with.

Description

【考案の詳細な説明】[Detailed explanation of the idea]

【0001】0001

【産業上の利用分野】[Industrial application field]

この考案は、入力した演算式を入力順に表示して最後に演算処理するドットパ ターン表示式の小型電子式計算機に関する。 This idea is based on a dot panel that displays the entered arithmetic expressions in the order in which they are entered and then processes the arithmetic expressions at the end. Concerning a small electronic calculator with turn display.

【0002】0002

【従来の技術】[Conventional technology]

従来のドットマトリックス表示式と呼ばれる小型電子式計算機は、キー入力さ れた数字,演算記号等を入力された順序に受入れて表示するので、演算式構成上 で間違った数式を入力しても受入れ、いざ、計算を実行しようとした場合に構文 が間違っていることを示す「SYN・ERROR」が表示され、結局REPLA Yキーを押して元に戻り訂正しなければならなかった。 Traditional small electronic calculators with dot matrix display require key input. Since the entered numbers, operation symbols, etc. are accepted and displayed in the order in which they were input, If you enter an incorrect formula, it will be accepted, and the syntax will be correct when you try to perform the calculation. “SYN・ERROR” is displayed indicating that the I had to press Y to go back and make corrections.

【0003】0003

【考案が解決しようとする課題】[Problem that the idea aims to solve]

この考案は上記したような問題を解決するためになされたもので、キー入力の 段階で構文の正誤を判断して、構文的に間違った演算式の入力を防止した小型電 子式計算機を提供することを目的としている。 This idea was made to solve the above-mentioned problems, and the key input A small electronic device that determines the correctness of the syntax at each stage and prevents the input of syntactically incorrect arithmetic expressions. The purpose is to provide a child-style calculator.

【0004】0004

【課題を解決するための手段】[Means to solve the problem]

この考案の小型電子式計算機は、数字データ,小数点データおよび演算記号デ ータを入力するキー入力手段と、このキー入力手段により入力された演算式を処 理する演算処理手段と、演算処理されたデータを表示する表示手段とを備えた小 型電子式計算機において、今回キー入力された今回データを保持する第1の記憶 手段と、前回キー入力された前回データを保持する第2の記憶手段と、第1およ ひ第2の記憶手段に保持されている双方のデータを比較し今回データと前回デー タが共に演算記号データである場合は今回データを選択し、両データが小数点デ ータの場合は前回データを選択する比較判断手段と、この比較判断手段により選 択されたデータを含む入力演算式を記憶保持する第3の記憶手段とを備えたこと を特徴としている。 The small electronic calculator of this invention can handle numeric data, decimal point data, and arithmetic symbol data. A key input means for inputting data, and a key input means for processing arithmetic expressions input by this key input means. A small computer equipped with arithmetic processing means for processing the data and a display means for displaying the processed data. In a type electronic calculator, the first memory that holds the current data entered by the key this time. means, a second storage means for retaining the previous data entered by the previous key; Compare both data stored in the second storage means and compare the current data and previous data. If both data are operation symbol data, select the data this time, and both data are decimal point data. In the case of data, there is a comparison judgment method that selects the previous data, and a comparison judgment method that selects the previous data. and a third storage means for storing and holding the input calculation formula including the selected data. It is characterized by

【0005】[0005]

【作用】[Effect]

このように構成することにより、演算式の構文上で有り得ない入力式を適切に 修正して、使用者の訂正操作を省けるようにしている。 By configuring this way, input expressions that are impossible due to the syntax of the arithmetic expression can be handled appropriately. This has been modified so that the user does not have to make any corrections.

【0006】[0006]

【実施例】【Example】

以下、図面を参照しながらこの考案の一実施例を説明する。図1はこの実施例 のハード構成を示すブロック回路である。 An embodiment of this invention will be described below with reference to the drawings. Figure 1 shows this example. This is a block circuit showing the hardware configuration.

【0007】 同図において、1はキー入力部で、0〜9までのキーが配置された数字キー1 a,演算記号“+”“−”“×”“÷”などの演算キー1bおよび小数点キー1 cを備えている。このキー入力部1は入力データのチエックや演算処理および装 置各部を制御する制御部2に接続されている。[0007] In the same figure, 1 is a key input section, and numeric key 1 has keys from 0 to 9 arranged. a, operation keys 1b such as operation symbols “+”, “-”, “×”, “÷”, etc., and decimal point key 1 It is equipped with c. This key input section 1 is used to check input data, perform arithmetic processing, and The control unit 2 is connected to a control unit 2 that controls each part of the equipment.

【0008】 制御部2は、構文的に問題無くキー入力された演算式が書き込まれるキーバッ ファ3,今回キー入力されたデータを保持する今回キーレジスタ4,前回にキー 入力されたデータを保持する前回キーレジスタ5,これらのキーレジスタ3,4 のキーデータの選択、非選択を判断するキー判断部6および液晶ドットマトリッ クスの表示素子からなる表示部7を制御する構成になっている。[0008] The control unit 2 has a keypad in which the arithmetic expressions input without syntactical problems are written. F3, current key register 4, which holds the data entered by the current key, key input last time Previous key register 5 that holds input data, these key registers 3 and 4 A key determination unit 6 and a liquid crystal dot matrix determine whether key data is selected or not. The display unit 7 is configured to control a display section 7 made up of a display element of a box.

【0009】 このように構成された実施例の処理動作を、図2に示すフローチャートおよび このフローに基づいて操作した場合において、図3に示めされるような表示例に よって説明する。[0009] The processing operation of the embodiment configured as described above is illustrated in the flowchart shown in FIG. When operating based on this flow, the display example shown in Figure 3 will appear. Therefore, I will explain.

【0010】 図2に示すフローチャートにおいて、処理動作はステップA1のキー入力操作 から開始される。このとき表示部7には図3(1) に示すようにカーソルのみが表 示されている。ステップA1において数字または演算キーが操作されてそのデー タが入力されると、ステップA2で今回キーレジスタ4に保持されていたデータ が前回キーレジスタ5に移されるとともに、キー入力されたデータを例えば、数 字データ“1”とすると、この数字データ“1”が今回キーレジスタ4に入力保 持される。0010 In the flowchart shown in FIG. 2, the processing operation is a key input operation in step A1. It starts from. At this time, only the cursor is displayed on the display section 7, as shown in Figure 3(1). It is shown. In step A1, the number or calculation key is operated and the data is When the data is input, the data currently held in the key register 4 is entered in step A2. is transferred to the previous key register 5, and the key-input data is transferred to the key register 5, for example, as a number. Assuming that the character data is “1”, this numerical data “1” will be input and held in the key register 4 this time. held.

【0011】 ステップA4では、前回キーレジスタ5にデータが保持されているかを見てお り、例えば、キー入力の当初であれば当然前回キーレジスタ5にデータが保持さ れていないのでNOと判断し、ステップA5に進む。ステップA5では、今回入 力されたキーデータを判断し数字または小数点であれば、ステップA6で、この データをキーバッファ3の先頭アドレスに書き込み、次のステップA7において 書き込まれたデータを表示部7に図3(2) に示すように表示する。さらにステッ プA8でキー入力続行と判断すればステップA1に戻る。[0011] In step A4, it is checked whether data was held in the key register 5 last time. For example, if it is the beginning of a key input, it is natural that the data was held in the previous key register 5. Since it is not, the determination is NO and the process proceeds to step A5. In step A5, If the entered key data is judged to be a number or a decimal point, this key data is determined in step A6. Write the data to the start address of key buffer 3, and in the next step A7 The written data is displayed on the display section 7 as shown in FIG. 3(2). Further steps If it is determined at step A8 to continue key input, the process returns to step A1.

【0012】 キー入力操作が二回目以後になり、ステップA4においてYESと判断すれば 次のステップA9で前回キーレジスタ5に保持されているデータを見て、そのデ ータによってそれぞれの判断を行う。つまり、この保持されているデータが数字 データであればステップA10に進み、今回キーレジスタ4に保持されているデ ータ、例えば、今回キー入力した演算データ“+”をキーバッファ3の次のアド レスへ書き込み、ステップA7において表示部7に図3(3) に示すように表示す る。0012 If the key input operation is the second time or later and it is determined YES in step A4, In the next step A9, check the data held in the previous key register 5 and Each judgment is made based on the data. This means that this retained data is a number If it is data, the process advances to step A10, and the data held in the key register 4 this time is For example, the calculation data “+” inputted this time is transferred to the next address in key buffer 3. In step A7, display on the display section 7 as shown in Figure 3(3). Ru.

【0013】 例えば、前回キー入力した演算データ“+”が入力誤りであり正しくは“×” であったと仮定すると、この正しい演算データ“×”を前回に入力した演算デー タ“+”の後に引き続いて入力する。するとステップA9において前回キーは演 算データ“+”と判断し、ステップA11に進む。ステップA11においては前 回のキーデータと今回キー入力されたデータとを比較して処理するもので、この 場合、今回キー入力されたのは再び演算データ“×”であるので、このステップ A11において次のような判断を行う。[0013] For example, the calculation data “+” entered last time is an input error and should be “×”. Assuming that the correct calculation data “×” is Continue to input after the ``+''. Then, in step A9, the previous key was The calculation data is determined to be "+" and the process proceeds to step A11. In step A11, This process is performed by comparing the previous key data with the data entered this time. In this case, the key input this time is the calculation data “×” again, so this step At A11, the following judgment is made.

【0014】 つまり、前回にキー入力されたデータが演算データ“+”であり、かつ今回デ ータが再び演算データ“×”であることは演算式の構文上で誤りであると判断し て、後に入力された今回の演算データ“×”を正しいものとして選択し、キーバ ッファ3に書き込まれている前回の演算データ“+”を消去して、今回の演算デ ータである“×”をステップA6でそのアドレスに書き込む。さらに次のステッ プA7において表示部7に前回の演算データ“+”を消して今回キー入力した演 算データ“×”を新たに図3(4) に示すように表示する。[0014] In other words, the data entered last time was the calculation data "+", and the data entered this time was It is determined that the fact that the data is again the calculation data “×” is an error in the syntax of the calculation expression. , select the current calculation data “×” that was input later as correct, and press the key key. Delete the previous calculation data “+” written in buffer 3 and write the current calculation data. The data "x" is written to that address in step A6. Next step In step A7, the previous operation data "+" is erased from the display section 7 and the operation entered this time is displayed. The calculation data “×” is newly displayed as shown in FIG. 3(4).

【0015】 また、ステップA9の判断は前回キー入力が演算キーであり、ステップA11 においての判断は今回のキー入力が演算キー1bでない、つまり数字または小数 点キー1a,1cの場合はステップA10に進み、今回キーレジスタ4に保持さ れている今回入力した演算データでないデータをキーバッファ3の次のアドレス へ書き込み、ステップA7においてこのデータを表示する。例えば、次に数字デ ータ“0”を入力すれば、このデータはステップA1,2,3,4,9,11, 10,7,8を経て、表示部7に図3(5) に示すように表示される。さらに次に 小数点キー1cを操作すれば、ステップA1,2,3,4,9,10,7,8を 経て、図3(6) に示すように表示される。[0015] Further, the determination in step A9 is that the previous key input was a calculation key, and step A11 The judgment is that the current key input is not calculation key 1b, that is, it is a number or decimal number. In the case of point keys 1a and 1c, the process advances to step A10, and the key held in key register 4 this time is The data that is not the calculation data input this time is transferred to the next address of key buffer 3. This data is displayed in step A7. For example, next If the data “0” is input, this data will be processed in steps A1, 2, 3, 4, 9, 11, 10, 7, and 8, the display is displayed on the display section 7 as shown in FIG. 3(5). Further next If you operate the decimal point key 1c, steps A1, 2, 3, 4, 9, 10, 7, 8 will be executed. After that, the screen will be displayed as shown in Figure 3(6).

【0016】 ステップA9において、前回のキーデータが小数点であると判断するとステッ プA12に進む。このステップA12は今回キー入力されたデータを見て、今回 のデータが演算または小数点データの場合は、演算式の構文上、小数点の直後に 演算データまたは小数点が入力されることは操作上の誤りと見なして無視し、ス テップA13でこのデータをキーバッファ3に書き込まない処理を行う。表示の 上では図3(7) に示すように後の小数点キー1cの操作を無視する。演算キー1 bが操作された場合も同様に無視される。[0016] In step A9, if it is determined that the previous key data is a decimal point, the step Proceed to step A12. This step A12 looks at the data entered this time, and If the data in is a calculation or decimal point data, the syntax of the calculation expression requires that the data immediately after the decimal point be Inputting calculated data or a decimal point is considered an operational error and is ignored. At step A13, a process is performed in which this data is not written to the key buffer 3. of display In the above example, the subsequent operation of the decimal point key 1c is ignored as shown in FIG. 3(7). Calculation key 1 If b is manipulated, it is similarly ignored.

【0017】 ステップA12において、演算または小数点データでないと判断した場合、つ まり数字データの場合は、正常な入力操作が行われたとしてステップA10に進 み通常の処理がなされる。例えば、次に数字データ“2”を入力すれば正常な操 作が行われたと判断して、このデータ“2”をステップA1,2,3,4,9, 12,10,7,8を経て、表示部7に図3(8) に示すように表示する。[0017] In step A12, if it is determined that the data is not arithmetic or decimal point data, If the data is numeric, it is assumed that a normal input operation has been performed and the process proceeds to step A10. normal processing is performed. For example, if you enter the numerical data “2” next, normal operation will occur. It is determined that the operation has been performed, and this data “2” is transferred to steps A1, 2, 3, 4, 9, 12, 10, 7, and 8, the display section 7 displays the image as shown in FIG. 3(8).

【0018】 また、ステップA5において演算キー1bが入力された場合は、前回キーレジ スタ5にデータが入力されていない状態で演算キー1bが入力されたことになる ので、演算式の構文上で操作誤りと判断して無視し、ステップA13においてキ ーバッファ3に書き込まない処理を行う。 なお、この考案は上記実施例に限定されるものではなく、要旨を変更しない範 囲で変形して実施できる。[0018] In addition, if calculation key 1b is input in step A5, the previous key register This means that calculation key 1b was input when no data was input to star 5. Therefore, it is judged to be an operational error in the syntax of the arithmetic expression and is ignored, and the key is changed in step A13. -Perform processing that does not write to buffer 3. Note that this invention is not limited to the above embodiments, and may be applied without changing the gist. It can be modified and implemented by

【0019】[0019]

【考案の効果】[Effect of the idea]

この考案は、前回に入力したキーデータと今回入力したキーデータとを比較判 断し、その判断結果によりキーデータの適切処理を行うもので、演算キーの二連 押しや小数点キーの二重押しの場合でも、入力したそのままが表示されることが なく、訂正のための操作を不要にする効果がある。 This idea compares the key data entered last time with the key data entered this time. The key data is processed appropriately based on the judgment result. Even if you press the decimal point key or double press the decimal point key, the exact input may be displayed. This has the effect of eliminating the need for correction operations.

【図面の簡単な説明】[Brief explanation of drawings]

【図1】この考案の一実施例のハード構成を示すブロッ
ク回路図。
FIG. 1 is a block circuit diagram showing the hardware configuration of an embodiment of this invention.

【図2】同実施例の処理動作を説明するフローチャー
ト。
FIG. 2 is a flowchart illustrating the processing operation of the embodiment.

【図3】同上のフローに基づいて演算式を入力した場合
の表示例。
FIG. 3 is a display example when an arithmetic expression is input based on the same flow as above.

【符号の説明】[Explanation of symbols]

1……キー入力部1a…数字キー 1b…演算
キー 1c…小数点キー 2……制御部 3……キーバッファ 4
……今回キーレジスタ 5……前回キーレジスタ 6……キー判断部 7
……表示部
1...Key input section 1a...Numeric key 1b...Calculation key 1c...Decimal point key 2...Control section 3...Key buffer 4
...Current key register 5...Previous key register 6...Key judgment section 7
...Display section

Claims (1)

【実用新案登録請求の範囲】[Scope of utility model registration request] 【請求項1】数字データ,小数点データおよび演算記号
データを入力するキー入力手段と、このキー入力手段に
より入力された演算式を処理する演算処理手段と、演算
処理されたデータを表示する表示手段とを備えた小型電
子式計算機において、今回キー入力された今回データを
保持する第1の記憶手段と、前回キー入力された前回デ
ータを保持する第2の記憶手段と、第1およひ第2の記
憶手段に保持されている双方のデータを比較し今回デー
タと前回データが共に演算記号データである場合は今回
データを選択し、両データが小数点データの場合は前回
データを選択する比較判断手段と、この比較判断手段に
より選択されたデータを含む入力演算式を記憶保持する
第3の記憶手段とを備えたことを特徴とする小型電子式
計算機。
1. Key input means for inputting numeric data, decimal point data and arithmetic symbol data, arithmetic processing means for processing arithmetic expressions input by the key input means, and display means for displaying the arithmetic processed data. A small electronic calculator comprising: a first storage means for holding the current data entered by the key this time; a second storage means for holding the previous data entered by the key last time; 2. Compare both data held in the storage means, and if the current data and previous data are both arithmetic symbol data, select the current data, and if both data are decimal point data, select the previous data. 1. A small-sized electronic calculator comprising: a means for comparing and determining an input calculation formula;
JP3863091U 1991-05-29 1991-05-29 small electronic calculator Pending JPH04132554U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3863091U JPH04132554U (en) 1991-05-29 1991-05-29 small electronic calculator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3863091U JPH04132554U (en) 1991-05-29 1991-05-29 small electronic calculator

Publications (1)

Publication Number Publication Date
JPH04132554U true JPH04132554U (en) 1992-12-08

Family

ID=31920087

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3863091U Pending JPH04132554U (en) 1991-05-29 1991-05-29 small electronic calculator

Country Status (1)

Country Link
JP (1) JPH04132554U (en)

Similar Documents

Publication Publication Date Title
JPH06195164A (en) Key input device and method therefor
JPS63766A (en) Document processor
JPH0594253A (en) Screen touch type key input device
JPH04132554U (en) small electronic calculator
JP5104045B2 (en) Graph display device and control program thereof
JPH05143575A (en) Input character display method by means of enlarged character
US11366587B2 (en) Electronic device, electronic device control method, and recording medium
JP7192342B2 (en) ELECTRONIC DEVICE, ELECTRONIC DEVICE CONTROL METHOD, AND ELECTRONIC DEVICE CONTROL PROGRAM
JP2526181Y2 (en) Small electronic calculator
JPH0146893B2 (en)
JP4028656B2 (en) Character display method and display device
JP2660459B2 (en) Operation procedure input and execution device
JP2697901B2 (en) Character processor
JPH07319822A (en) Minicomputer with checking function
JP2731712B2 (en) Terminal data input method
JP2003150563A (en) Calculator and calculation processing program
JPS6288018A (en) Data input device
JPS6218596A (en) Working area display system
JPS61265657A (en) Data processor
JPS61265658A (en) Data rpocessor
JPS63150757A (en) Document preparing device
JPH05265899A (en) Information terminal equipment
JPH0635906A (en) Table calculation processor
JPS61265656A (en) Data processor
JPH0340059A (en) Document processor