JPH0512953U - Small electronic calculator - Google Patents

Small electronic calculator

Info

Publication number
JPH0512953U
JPH0512953U JP5910491U JP5910491U JPH0512953U JP H0512953 U JPH0512953 U JP H0512953U JP 5910491 U JP5910491 U JP 5910491U JP 5910491 U JP5910491 U JP 5910491U JP H0512953 U JPH0512953 U JP H0512953U
Authority
JP
Japan
Prior art keywords
calculation
partial
key
input
range
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
JP5910491U
Other languages
Japanese (ja)
Inventor
敏文 高島
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 JP5910491U priority Critical patent/JPH0512953U/en
Publication of JPH0512953U publication Critical patent/JPH0512953U/en
Pending legal-status Critical Current

Links

Abstract

(57)【要約】 【目的】この考案は演算手法を改善した小型電子式計算
機に関するものである。 【構成】この考案は部分演算モードを設定した後、カー
ソルで部分演算範囲を指定すると、その範囲がメモリ5
に記憶され、指定された範囲のデータが特定表示され
る。演算を実行させると、計算式の中の指定された範囲
で部分演算され、部分演算結果は特定表示されているデ
ータと置換されて表示されるように構成されている。
(57) [Abstract] [Purpose] The present invention relates to a small electronic computer with an improved calculation method. [Constitution] In this invention, when the partial calculation range is designated by the cursor after setting the partial calculation mode, the range is stored in the memory 5
The data in the specified range is stored and displayed in a specific format. When the calculation is executed, the partial calculation is performed within a designated range in the calculation formula, and the partial calculation result is displayed by replacing the specified display data.

Description

【考案の詳細な説明】[Detailed description of the device]

【0001】[0001]

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

この考案は、演算手法を改善した小型電子式計算機に関するものである。 The present invention relates to a small electronic computer with an improved calculation method.

【0002】[0002]

【従来の技術】[Prior Art]

従来の電卓などの小型電子式計算機は、計算する演算式を、スクリーンの上に 入力書式順に表示した後、演算実行キーを操作することにより、入力した演算式 全体についての演算を実行する処理方法が採用されていた。このため、演算式の 途中で、ある特定の演算部についての答えを求めて置きたいと言う場合の演算処 理はできず、その特定の演算部の答えを求め、かつ、演算式全体の答えを求めた い場合は、演算式を変形して、特定の演算部のみについて演算を実行した後、そ の答えの後に残りの演算式をに入力して全体の演算を行う必要があった。 Conventional electronic calculators and other small electronic calculators display the formulas to be calculated in the order of input format on the screen, and then operate the calculation execution keys to execute the calculation for the entire inputted formula. Was adopted. For this reason, it is not possible to perform arithmetic processing when an answer for a specific arithmetic section is to be obtained and placed in the middle of an arithmetic expression, and the answer for that specific arithmetic section is calculated, and the answer for the entire arithmetic expression is obtained. In order to obtain, it was necessary to transform the arithmetic expression, execute the arithmetic operation only for a specific arithmetic unit, and then input the remaining arithmetic expression after the answer to perform the entire arithmetic operation.

【0003】[0003]

【考案が解決しようとする課題】[Problems to be solved by the device]

この考案は、上記したような実情に鑑みてなされたもので、その目的とすると ころは、書式順に演算を行う演算処理手段を有する計算機において、計算式の一 部の演算部のみを予め演算することが可能である小型電子式計算機を提供するこ とにある。 The present invention has been made in view of the above situation, and its purpose is to preliminarily calculate only one calculation unit of a calculation formula in a computer having a calculation processing unit that performs calculation in format order. It is to provide a small electronic computer that is capable of doing so.

【0004】[0004]

【課題を解決するための手段】[Means for Solving the Problems]

この考案の小型電子式計算機は、置数キー,関数キー,カーソルキーおよび実 行キーを含むキー入力手段と、入力された計算式を記憶する記憶手段と、入力さ れた計算式を演算処理する演算手段と、入力された計算式および演算処理結果を 表示する表示手段とを具備する小型電子式計算機において、 The small electronic calculator of the present invention comprises a key input means including a numeral key, a function key, a cursor key and an execution key, a storage means for storing the input calculation formula, and an arithmetic processing of the input calculation formula. In a small-sized electronic computer equipped with a calculation means for displaying and a display means for displaying the input calculation formula and the calculation processing result,

【0005】 部分演算モードを設定する部分演算設定手段と、入力された計算式の部分演算 範囲を指定する範囲指定手段と、指定された範囲のデータを特定表示する範囲表 示手段と、計算式を指定された範囲で部分演算する部分演算手段と、部分演算結 果を特定表示されているデータと置換して表示する置換表示手段と、を備えたこ とを特徴としている。A partial calculation setting means for setting a partial calculation mode, a range specifying means for specifying a partial calculation range of an input calculation formula, a range display means for specifically displaying data in the specified range, and a calculation formula It is characterized by including partial calculation means for performing partial calculation in the specified range and replacement display means for replacing and displaying the partial calculation result with the specifically displayed data.

【0006】[0006]

【作用】[Action]

このように構成することにより、入力した計算式の一部範囲を特定して、計算 式のこの範囲での部分計算を可能にしている。 With this configuration, the partial range of the input calculation formula is specified, and the partial calculation of the calculation formula within this range is enabled.

【0007】[0007]

【実施例】【Example】

以下、図面を参照しながらこの考案の一実施例を説明する。図1はこの考案の 一実施例のハード構成を示すブロック構成図である。同図において、1はキー入 力部で図示しない置数キーやファンクションキーのほか、部分演算モードを設定 する部分キー1a,部分演算の位置を指定するカーソルキー1b,演算を実行す るEXEキー1cが設けられており、このキー入力部1は装置各部を制御する制 御部2に接続されている。 An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the hardware arrangement of an embodiment of the present invention. In the figure, reference numeral 1 denotes a key input section, which is not only numeral keys or function keys (not shown), but also a partial key 1a for setting a partial calculation mode, a cursor key 1b for specifying a position of partial calculation, and an EXE key for executing a calculation. 1c is provided, and this key input section 1 is connected to a control section 2 which controls each section of the apparatus.

【0008】 制御部2は、キー入力部1から送られる入力計算式を一時格納する入力式バッ ファ3,入力された計算式を演算処理する演算部4,計算式の中の部分演算部の 先頭位置(P1)と終り位置(P2)とを記憶するポインタメモリ5,入力式バ ッファ3に入力された計算式や演算部4で演算処理された計算結果を表示する表 示部6,この表示部6を制御する表示制御部7,および、表示部6に表示されて いる計算式の所要位置を指定するカーソル制御部8に直接または間接的に接続さ れている。The control unit 2 includes an input formula buffer 3 for temporarily storing the input calculation formula sent from the key input unit 3, a calculation unit 4 for processing the input calculation formula 4, and a partial calculation unit for the calculation formula. Pointer memory 5 for storing the start position (P1) and the end position (P2) 5, the display unit 6 for displaying the calculation formula input to the input formula buffer 3 and the calculation result processed by the calculation unit 4. It is directly or indirectly connected to a display control unit 7 for controlling the display unit 6 and a cursor control unit 8 for designating a required position of a calculation formula displayed on the display unit 6.

【0009】 また、この制御部2は、キー入力部1で指定される部分演算モード状態にある ことを示すフラグ2aと、入力された計算式の入力式バッファ3における位置を 指定するポインタ2bを備えている。 このように構成された実施例の計算機の計算動作を、図2に示すフローチャー トおよび図3に示す計算式の表示例により説明する。The control unit 2 also has a flag 2 a indicating that the partial calculation mode is designated by the key input unit 1 and a pointer 2 b for designating the position of the input calculation formula in the input formula buffer 3. I have it. The calculation operation of the computer of the embodiment thus configured will be described with reference to the flowchart shown in FIG. 2 and the display example of the calculation formula shown in FIG.

【0010】 計算処理が指定されると、ステップP1で置数キーやファンクションキーまた は、演算処理を実行するEXEキー1c等のデータキー操作待ち状態になる。操 作されたキーが置数キーまたはファンクションキーのデータキーであれば、ステ ップP2に移り、このステップP2で、入力されたデータが制御部2のポインタ 2bで指定される入力式バッファ3の所定位置に格納され、フローはステップP 1に戻る。通常の計算式の入力は、これらのステップの繰返で所要の計算式が入 力され、図3(a) に示すように表示部6に表示される。When the calculation process is designated, in step P1, a numeric key, a function key, or a data key operation waiting state of the EXE key 1c for executing the calculation process is entered. If the operated key is a numeric key or a function key data key, the process moves to step P2, and in this step P2, the input data is designated by the pointer 2b of the control unit 2 and the input type buffer 3 Is stored in the predetermined position of the flow, and the flow returns to step P 1. As for the input of a normal calculation formula, a required calculation formula is input by repeating these steps and displayed on the display unit 6 as shown in FIG. 3 (a).

【0011】 ステップP1で操作されたキーが置数キーまたはファンクションキー以外のキ ー、つまり、部分キー1a,カーソルキー1bまたはEXEキー1cであれば、 ステップP3に移る。このステップP3ではEXEキー1cが操作されたどうか を判断している。EXEキー1cが操作されたと判断すれば、ステップP4に移 り、このステップP4において制御部2のフラグ2aの状態を見て、“1”がセ ットされていなければ、部分演算をしない通常の計算処理と判断して、次のステ ップP5において、入力式バッファ3に入力されている計算式を演算部4にて演 算処理し、結果を表示部6に表示して、通常の計算処理を終る。If the key operated in step P1 is a key other than the numeric keys or function keys, that is, the partial key 1a, the cursor key 1b or the EXE key 1c, the process proceeds to step P3. In step P3, it is determined whether the EXE key 1c has been operated. If it is determined that the EXE key 1c has been operated, the process proceeds to step P4. At step P4, the state of the flag 2a of the control unit 2 is checked, and if "1" is not set, the partial operation is not performed normally. In the next step P5, the calculation formula input to the input formula buffer 3 is calculated by the calculation unit 4, and the result is displayed on the display unit 6, and the normal calculation is performed. The calculation process ends.

【0012】 部分演算を行う場合は、部分キー1aを操作して部分演算モードを指定する必 要がある。この部分演算指定は計算式の入力途中でも行えるが、この実施例の説 明では、図3(a) に示しているような計算式を入力したところで、部分演算を行 う方法を説明する。When performing the partial calculation, it is necessary to operate the partial key 1a to specify the partial calculation mode. This partial operation designation can be performed even while the calculation formula is being input, but in the description of this embodiment, a method of performing the partial calculation when the calculation formula as shown in FIG. 3 (a) is input will be described.

【0013】 図3(a) に示す式の中で、部分演算を行う部分を「2×(3+4)−5」と仮 定する。したがって、部分演算の先頭データは“2”であり、その後尾データは “5”である。In the equation shown in FIG. 3A, the part on which the partial operation is performed is tentatively defined as “2 × (3 + 4) −5”. Therefore, the leading data of the partial operation is "2" and the trailing data is "5".

【0014】 始めに、キー入力部1の部分キー1aを操作して部分演算モードを設定する。 フローチャート上では、ステップP1,P3,P6を経て、ステップP7におい て部分キー1aが押されたことを判断してステップP8に移り、このステップP 8において制御部2のフラグ2aに“1”を立てる。First, the partial key 1a of the key input unit 1 is operated to set the partial calculation mode. In the flow chart, through steps P1, P3 and P6, it is determined in step P7 that the partial key 1a has been pressed, and the process proceeds to step P8. At step P8, the flag 2a of the control unit 2 is set to "1". Stand up.

【0015】 次に、先頭データ“2”をカーソルで指定する。カーソルキー1bを押すとス テップP1,P3を経てステップP6に移り、このステップP6において、カー ソルキー1bが操作されたことを判断して、ステップP9に移り、このステップ P9でカーソルキー1bを移動させることにより、図3(a) のように表示されて いる部分演算の先頭データ“2”の位置を指定する。Next, the head data “2” is designated by the cursor. When the cursor key 1b is pressed, the process moves to step P6 via steps P1 and P3. In this step P6, it is determined that the cursor key 1b is operated, the process moves to step P9, and the cursor key 1b is moved in this step P9. By doing so, the position of the head data "2" of the partial operation displayed as shown in FIG. 3 (a) is specified.

【0016】 先頭データ“2”の位置をカーソルで指定したら、この位置をポインタメモリ 5の[P1]に格納するためEXEキー1cを押す。この操作でフローはステッ プP1,P3を経てステップP4に移る。ステップP4では、すでにフラグ2a に“1”が立てられているので、次のステップP10に移る。When the position of the head data “2” is designated by the cursor, the EXE key 1c is pressed to store this position in [P1] of the pointer memory 5. By this operation, the flow goes to step P4 through steps P1 and P3. At step P4, "1" has already been set in the flag 2a, so the routine proceeds to the next step P10.

【0017】 ステップP10で、ポインタメモリ5の[P1]の中のデータ有無を見るが、 未だデータは格納されていないので、ステップP11に移り、このステップP1 1において、先頭データ“2”の位置に対応するポインタ2bのポインタデータ を参照して、このデータをポインタメモリ5の[P1]に記憶する。In step P10, the presence or absence of data in [P1] of the pointer memory 5 is checked. However, since no data has been stored yet, the process moves to step P11, and in this step P11, the position of the head data “2” The pointer data of the pointer 2b corresponding to is referred to and this data is stored in [P1] of the pointer memory 5.

【0018】 次に、後尾データ“5”の位置をポインタメモリ5の[P2]に記憶させる。 この操作は、先頭データ“2”の場合と同様である。フローチャート上では、ポ インタメモリ5の[P1]に先頭データ“2”の位置がすでに記憶されているの で、ステップP10からステップP12に移り、さらに、ステップP13におい て、後尾データ“5”の位置をポインタメモリ5の[P2]に記憶する。Next, the position of the tail data “5” is stored in [P2] of the pointer memory 5. This operation is the same as in the case of the head data “2”. In the flowchart, since the position of the head data "2" has already been stored in [P1] of the pointer memory 5, the process moves from step P10 to step P12, and at step P13, the tail data "5" is stored. The position is stored in [P2] of the pointer memory 5.

【0019】 先頭データと後尾データの位置データがそれぞれポインタメモリ5に記憶され ると、ステップP14において、部分演算の範囲を示すため、図3(b) の斜線部 分に示すように、その範囲が反転表示される。When the position data of the head data and the position data of the tail data are stored in the pointer memory 5, respectively, in step P14, the range of the partial calculation is shown. Therefore, as shown by the shaded area in FIG. Is highlighted.

【0020】 次に、実行キーであるEXEキー1cを押すと、ステップP1,P3,P4, P10,P12を経て、ステップP15おいて、指定された範囲の部分演算を実 行する。そして、図3(c) に示すように、表示されている入力式の部分演算の範 囲をその答えに置換して表示する。さらに次のステップP16において、フラグ 2aをリセットして、部分演算処理は終る。Next, when the execute key 1c, which is the execution key, is pressed, the partial calculation of the designated range is executed in step P15 through steps P1, P3, P4, P10 and P12. Then, as shown in FIG. 3 (c), the range of the partial operation of the displayed input expression is replaced with the answer and displayed. Further, in the next step P16, the flag 2a is reset, and the partial operation processing is ended.

【0021】 この後、続きの式を入力することも可能あるし、また、再びEXEキー1cを 押すと、ステップP1,P3,P4,P5を経て、入力された計算式全体の計算 処理が実行される。After that, it is possible to input the following formula, or, if the EXE key 1c is pressed again, the calculation process of the whole inputted calculation formula is executed through steps P1, P3, P4 and P5. To be done.

【0022】 上記に説明した実施例の操作は、始めに部分キー1aを操作して部分演算モー ドを設定したあと、部分演算の先頭データをカーソルで指定する方法を説明した が、これらの操作順は逆でもよい。 なお、この考案は上記実施例に限定されるものではなく、要旨を変更しない範 囲で変形して実施できる。In the operation of the above-described embodiment, the method of first operating the partial key 1a to set the partial operation mode and then designating the start data of the partial operation with the cursor has been described. The order may be reversed. The present invention is not limited to the above embodiment, and can be modified and implemented within the scope not changing the gist.

【0023】[0023]

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

この考案によれば、入力した計算式の中の特定の演算部についての結果が計算 式全体としての結果とは別に得られるので、式全体の結果と部分演算の結果とを 共に求めたいときの計算操作が楽になる。 また、計算式が長い場合でも、部分演算処理を行うことで、式全体を短くまと めることができる。 According to this invention, the result for the specific operation part in the input calculation formula is obtained separately from the result for the whole calculation formula, so when you want to obtain both the result of the whole formula and the result of partial calculation, Calculation operation becomes easy. Even if the calculation formula is long, the whole formula can be shortened by performing the partial calculation process.

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

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

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

【図3】同実施例において、計算式の一例を入力した場
合の表示例。
FIG. 3 is a display example when an example of a calculation formula is input in the embodiment.

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

1……キー入力部 1a…部分キー 1b…カーソルキー 1
c…EXEキー 2……制御部 2a…フラグ 2
b…ポインタ 3……入力式バッファ 4……演算部 5
……ポインタメモリ 6……表示部 7……表示制御部 8
……カーソル制御部。
1 ... Key input section 1a ... Partial key 1b ... Cursor key 1
c ... EXE key 2 ... control section 2a ... flag 2
b ... pointer 3 ... input buffer 4 ... operation unit 5
...... Pointer memory 6 …… Display unit 7 …… Display control unit 8
...... Cursor control section.

Claims (1)

【実用新案登録請求の範囲】[Scope of utility model registration request] 【請求項1】置数キー,関数キー,カーソルキーおよび
実行キーを含むキー入力手段と、入力された計算式を記
憶する記憶手段と、入力された計算式を演算処理する演
算手段と、入力された計算式および演算処理結果を表示
する表示手段とを具備する小型電子式計算機において、 部分演算モードを設定する部分演算設定手段と、入力さ
れた計算式の部分演算範囲を指定する範囲指定手段と、
指定された範囲のデータを特定表示する範囲表示手段
と、計算式を指定された範囲で部分演算する部分演算手
段と、部分演算結果を特定表示されているデータと置換
して表示する置換表示手段と、を備えたことを特徴とし
た小型電子式計算機。
1. A key input means including a numeric key, a function key, a cursor key and an execution key, a storage means for storing an input calculation formula, a calculation means for arithmetically processing the input calculation formula, and an input. In a small electronic computer having a display unit for displaying the calculated calculation formula and the calculation processing result, a partial calculation setting unit for setting a partial calculation mode and a range specifying unit for specifying a partial calculation range of the input calculation formula. When,
Range display means for specifically displaying the data in the specified range, partial calculation means for partially calculating the calculation formula in the specified range, and replacement display means for displaying the partial calculation result by replacing it with the specifically displayed data. And a small electronic calculator.
JP5910491U 1991-07-26 1991-07-26 Small electronic calculator Pending JPH0512953U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5910491U JPH0512953U (en) 1991-07-26 1991-07-26 Small electronic calculator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5910491U JPH0512953U (en) 1991-07-26 1991-07-26 Small electronic calculator

Publications (1)

Publication Number Publication Date
JPH0512953U true JPH0512953U (en) 1993-02-19

Family

ID=13103683

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5910491U Pending JPH0512953U (en) 1991-07-26 1991-07-26 Small electronic calculator

Country Status (1)

Country Link
JP (1) JPH0512953U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE4447023C2 (en) * 1993-12-28 1999-08-26 Yazaki Corp Electrical connector

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE4447023C2 (en) * 1993-12-28 1999-08-26 Yazaki Corp Electrical connector

Similar Documents

Publication Publication Date Title
US9977458B2 (en) Calculation data printing apparatus, calculation data printing method and computer-readable storage medium
JPH0512953U (en) Small electronic calculator
JPH07120285B2 (en) How to use the syntax checker and text editor
JPH11250037A (en) Content editing device and recording medium
JP2507616B2 (en) Data non-editing display method
JPH07200350A (en) Software debugger
JPH0616278B2 (en) Calculation mode setting device for desktop computer
JPH0435955Y2 (en)
JP5028644B2 (en) Electronic computer and computer control program
JP2523606B2 (en) Command processing method
JP2526181Y2 (en) Small electronic calculator
JPH1091380A (en) Information processor
JPH03105560A (en) Document preparing/editing device
JP2723236B2 (en) Character reader
JP3039938B2 (en) Document creation device
JPS6382551A (en) Picture information processor
JPH06202860A (en) Method and system for changing system generation parameter
JPH0337758A (en) Memorandum recording processing system
JPH05224800A (en) Automatic input system
JPS63228341A (en) Program syntax checking system
JPH0628230A (en) General file maintenance system
JPH0567977B2 (en)
JPH08166988A (en) Medical examination and treatment fee detailed statement issuing device
JPH06259235A (en) Jcl preparing/updating system
JPS58101352A (en) Data processor