JP3392583B2 - calculator - Google Patents

calculator

Info

Publication number
JP3392583B2
JP3392583B2 JP11997895A JP11997895A JP3392583B2 JP 3392583 B2 JP3392583 B2 JP 3392583B2 JP 11997895 A JP11997895 A JP 11997895A JP 11997895 A JP11997895 A JP 11997895A JP 3392583 B2 JP3392583 B2 JP 3392583B2
Authority
JP
Japan
Prior art keywords
range
subtotal
cursor
displayed
formula
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.)
Expired - Fee Related
Application number
JP11997895A
Other languages
Japanese (ja)
Other versions
JPH08314866A (en
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP11997895A priority Critical patent/JP3392583B2/en
Publication of JPH08314866A publication Critical patent/JPH08314866A/en
Application granted granted Critical
Publication of JP3392583B2 publication Critical patent/JP3392583B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Calculators And Similar Devices (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、複数の数式の各々の
解、および、それらの解の総和を求めるとともに、特定
範囲の小計を求めることのできる計算機に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a computer capable of obtaining a solution of each of a plurality of mathematical expressions and a sum of the solutions and a subtotal of a specific range.

【0002】[0002]

【従来の技術】卓上計算機,電子手帳,携帯情報端末,
パーソナルコンピュータ,ワードプロセッサ,POSタ
ーミナル,電子式キャッシュレジスタなどの小型電子機
器においては、一般的に以下のような計算機能を備えて
いた。
2. Description of the Related Art Desktop calculators, electronic organizers, personal digital assistants,
Small electronic devices such as personal computers, word processors, POS terminals, and electronic cash registers generally have the following calculation functions.

【0003】たとえば、本出願人が先に出願した特願平
5−209557号では、複数行の表示部と、前記複数
行の表示部のうちカーソルによって指定された行を入力
編集行として該入力編集行に入力または編集された数式
を表示する手段と、前記カーソルを上の行または下の行
に移動したとき、該カーソル移動前の入力編集行に表示
されている数式を計算して、その解をその行内の前記数
式の右側に表示する手段と、を備え、さらに、前記カー
ソルを上の行または下の行に移動したとき、入力編集さ
れた全ての数式の解の総和を求め、該解の総和を前記複
数行の表示部のうち、最下行に表示する手段を備えてい
る。
For example, in Japanese Patent Application No. 5-209557 filed by the applicant of the present application, a plurality of lines of the display portion and a line designated by the cursor in the plurality of lines of the display portion are input as input edit lines. Means for displaying the formula input or edited in the edit line, and when the cursor is moved to the upper line or the lower line, calculate the formula displayed in the input edit line before the cursor movement, Means for displaying the solution on the right side of the formula in the line, further, when the cursor is moved to the upper line or the lower line, the sum of the solutions of all input edited formulas, Means for displaying the total sum of the solutions in the bottom line of the display units of the plurality of lines is provided.

【0004】[0004]

【発明が解決しようとする課題】日常の計算において
は、小計を出す必要があることがしばしばある。図3は
その一例である。ただし、この数式は1項の数値として
表されている。
In everyday calculations, it is often necessary to produce subtotals. FIG. 3 is an example thereof. However, this mathematical expression is expressed as the numerical value of the first term.

【0005】図3の計算を上記計算機を用いて一度に行
った場合、,,13は総計として求めることができる
が、,,,,10の小計を出すことができない。
このような計算機で小計を得ようとすれば、それぞれの
小計区間を別計算し、そののち、この小計を再度合算し
て総計を出す必要があった。
When the calculation of FIG. 3 is performed at one time by using the above-mentioned computer ,,, 13 can be obtained as a total, but a subtotal of 10, ..., 10 cannot be obtained.
In order to obtain a subtotal with such a computer, it was necessary to separately calculate each subtotal section, and then add the subtotals again to give a grand total.

【0006】この発明は、総計を求める一連の計算にお
いて、途中の任意の部分の小計を出すことができる計算
機を提供することを目的とする。
It is an object of the present invention to provide a computer capable of producing a subtotal of an arbitrary portion in the middle of a series of calculations for obtaining a total.

【0007】この発明は、複数の数式を入力し、入力さ
れた数式の解を積算することによって総計を算出し、総
計表示エリアに表示する計算機において、前記入力され
た複数の数式を記憶する数式記憶手段と、該数式記憶手
段に記憶されている数式の一部の範囲を指定する範囲指
定手段と、該範囲指定手段で指定された範囲内にある
式の解の積算値を求めて小計として算出する小計算出手
段と、上記範囲指定手段で指定された範囲外の数式及び
その解については数式表示エリアと解表示エリアにそれ
ぞれ表示するとともに、上記範囲指定手段で指定された
範囲内の数式及びその解については数式表示エリアに数
式を表示する一方、解表示エリアの当該範囲の1行に前
記小計を表示し他の行を空白とする表示手段と、を備え
ることを特徴とする。
The present invention is a computer for inputting a plurality of mathematical expressions, accumulating solutions of the input mathematical expressions to calculate a total, and displaying the total in a total display area. Storage means, range designating means for designating a part of the range of the mathematical formula stored in the mathematical formula storing means, and integrated value of the numerical solution within the range designated by the range designating means. means leaving a small calculation that calculates a subtotal seeking, and equation outside the range specified in the above range specifying means
The solution is displayed in the formula display area and the solution display area.
Each is displayed and designated by the above range designation means
Numerical expressions within the range and their solutions are displayed in the numerical display area.
While displaying the formula, the previous one line in the range in the solution display area
Display means for displaying the subtotal and leaving other lines blank
It is characterized by

【0008】また、この発明は、複数の数式を入力し、
入力された数式の解を積算することによって総計を算出
し、総計表示エリアに表示する計算機において、前記入
力された複数の数式を記憶する数式記憶手段と、該数式
記憶手段に記憶されている数式の一部の範囲を指定する
範囲指定手段と、該範囲指定手段で指定された範囲内に
ある数式の解の積算値を求めて小計として算出する小計
算出手段と、上記範囲指定手段で指定された範囲内の数
式及びその解については数式表示エリアと解表示エリア
にそれぞれ表示するとともに、上記範囲指定手段で指定
された範囲外の数式及びその解については数式表示エリ
アに数式を表示する一方、解表示エリアの当該範囲を空
白にし、且つ前記小計を前記総計表示エリアに表示する
表示手段と、を備えることを特徴とする。
Further , the present invention inputs a plurality of mathematical expressions,
Calculate the total by accumulating the solutions of the entered formulas
Then, on the computer displayed in the total display area,
Formula storing means for storing a plurality of applied formulas, and the formula
Specify a range of a part of the formula stored in the storage means
Within the range designated by the range designating means and the range designating means
Subtotal that calculates the integrated value of the solution of a certain formula and calculates it as a subtotal
Number within the range specified by the calculation means and the above range specification means
Formula and solution display area for formulas and their solutions
Are displayed on the screen and specified by the range specification means
For the formulas outside the specified range and their solutions,
While displaying the formula in the
Display in white and display the subtotal in the total display area
And a display means.

【0009】また、この発明は、前記表示手段上に表示
されるカーソルを移動させるカーソル移動手段と、数値
入力手段とを備え、前記範囲指定手段は、前記カーソル
の表示位置から、数値入力手段で入力された行数だけ行
方向に移動した位置までの範囲を指定する手段であるこ
とを特徴とする。
The present invention also provides a display on the display means.
Numerical value for moving the cursor
Input means, the range designating means is the cursor
From the display position of, the number of lines input by the numerical input means
It is a means to specify the range up to the position moved in the direction.
And are characterized.

【0010】また、この発明は、前記表示手段上に表示
されるカーソルを移動させるカーソル移動手段と、小計
算出を指示する指示手段とを備え、前記範囲指定手段
は、前記指示手段によって小計の算出が指示されたとき
カーソルがあった位置から、前記カーソル移動手段によ
ってカーソルが行方向に移動した位置までの範囲を指定
する手段であり、前記小計算出手段は、前記カーソルが
下方向に移動することに対応して、前記小計を算出する
ことを特徴とする。
The present invention also provides a display on the display means.
Cursor movement means to move the cursor, and subtotal
And a range designating means for designating calculation,
Is when the subtotal calculation is instructed by the instructing means.
From the position where the cursor was, the cursor moving means
Specifies the range up to the position where the cursor moves in the row direction
And the cursor is used in the small calculation output means.
Calculate the subtotal corresponding to moving downward
It is characterized by

【0011】[0011]

【0012】[0012]

【作用】この発明では、数式を表示するとともに各数式
の解を表示するが、小計を求める範囲の数式の解の表示
部分を空白とし、そこに算出した小計を表示する。すな
わち、小計を求める範囲の解の値を消去し、それに代え
て小計が表示されるため、解の総計は小計を表示した場
合でも変動がない。
In the present invention, the mathematical formulas are displayed and each mathematical formula is displayed.
Display the solution of, but display the solution of the formula in the range for which you want the subtotal
The part is left blank and the calculated subtotal is displayed. sand
That is, erase the value of the solution for the subtotal and replace it.
Subtotals are displayed, the total solution is
There is no change even in the case.

【0013】この発明では、数式を表示するとともに各
数式の解を表示するが、小計を求める場合は、小計を求
める範囲外の数式の解の表示部分は空白とし、総計表示
エリアに小計を表示する。これにより、解の表示エリア
は小計の積算表示となる。
According to the present invention, mathematical expressions are displayed and
Display the solution to the formula, but if you want a subtotal, find the subtotal.
Display the solution part of the formula outside the range
Display a subtotal in the area. This allows the solution display area
Is the totalized display of the subtotal.

【0014】この発明では、範囲指定をカーソルと数値
入力で行う。すなわち、小計を求める行数を指示する数
値を入力するとカーソルのある行から始まる行数の小計
を求める。これにより、そのときのカーソル位置と数値
入力で効率的な範囲指定が可能となる。
According to the present invention, the range is designated by the cursor and the numerical value.
Do by typing. That is, the number that indicates the number of rows for which you want the subtotal
Subtotal number of lines starting from the line where the cursor is when you enter a value
Ask for. With this, the cursor position and numerical value at that time
It is possible to specify the range efficiently by inputting.

【0015】この発明では、範囲指定をカーソルで行
う。最初にカーソルがあった位置を基準とし、そののち
カーソルが移動した位置までを範囲として小計を求め
る。これにより、カーソルの移動のみで非常に分かりや
すい範囲指定をすることができる。
According to the present invention, the range is designated by the cursor.
U Based on the position where the cursor was first,
Find the subtotal within the range where the cursor moves
It This makes it very easy to understand just by moving the cursor.
It is possible to specify the cone range.

【0016】[0016]

【0017】[0017]

【実施例】図1はこの発明の実施例である計算機のブロ
ック図である。CPU1は計算処理等を行う処理部であ
り、ROM2に予め書き込まれたプログラムにしたがっ
て計算処理を実行する。RAM3はワーキングメモリで
あり集計計算のための集計用メモリエリアを有してい
る。
1 is a block diagram of a computer according to an embodiment of the present invention. The CPU 1 is a processing unit that performs calculation processing and the like, and executes calculation processing according to a program previously written in the ROM 2. The RAM 3 is a working memory and has a counting memory area for counting calculation.

【0018】図2は集計用メモリエリアの構成例を示す
メモリマップである。集計用メモリエリアは、数式記憶
エリアE(1) 〜(100),解記憶エリアS(1) 〜(100) と総
計記憶エリアTからなっている。キー入力装置5から入
力された数式は数式記憶エリアはE(1) から順に記憶さ
れてゆく。これら100個の記憶エリアのうち8個分の
内容が後述の表示装置4に表示可能であり、表示装置4
においてカーソルで指定されている欄に表示されている
内容を記憶しているエリアの引数が記憶エリアポインタ
Lにセットされる。
FIG. 2 is a memory map showing an example of the structure of the counting memory area. The totaling memory area is composed of formula storage areas E (1) to (100), solution storage areas S (1) to (100), and a total storage area T. The formula input from the key input device 5 is stored in the formula storage area in order from E (1). The contents of eight of these 100 storage areas can be displayed on the display device 4 described later.
In, the argument of the area storing the contents displayed in the column designated by the cursor is set in the storage area pointer L.

【0019】計算機の表面には表示装置4およびキー入
力装置5が設けられている。表示装置4は液晶パネルか
らなり、表示制御部6を介してCPU1と接続されてい
る。この実施例では表示装置4は36桁×8行表示の液
晶パネルを用いている。このうち左側の20桁を数式の
表示エリアとして用い、右側の16桁を解の表示エリア
として用いる。数式表示エリアには、CPU1から入力
された数式が表示制御部6によって左揃えで表示され、
解表示エリアには、CPU1から入力された解が表示制
御部6によって右揃えで表示される。また、第8行は総
計表示行として指定され、数式は表示されず、いままで
入力された数式の解の総計が表示される。
A display device 4 and a key input device 5 are provided on the surface of the computer. The display device 4 is composed of a liquid crystal panel and is connected to the CPU 1 via the display control unit 6. In this embodiment, the display device 4 uses a liquid crystal panel of 36 columns × 8 lines display. Of these, the left 20 digits are used as a mathematical expression display area, and the right 16 digits are used as a solution display area. In the mathematical expression display area, the mathematical expression input from the CPU 1 is displayed left-aligned by the display control unit 6,
In the solution display area, the solution input from the CPU 1 is displayed by the display control unit 6 with right alignment. The eighth line is designated as the total display line, and the formula is not displayed, but the total solution of the formulas input so far is displayed.

【0020】キー入力装置5は、数値入力を行うテンキ
ー5a,計算符号(+,−,×,÷)を入力する符号キ
ー5b,小計(Subtotal)計算モードを指示す
る小計キー5c,メモリ内容の初期化を行うためのオー
ルクリアキー5d,既入力データに新たなデータを挿入
する挿入キー5e,既入力データを削除する削除キー5
f,カーソルを左右上下に移動させるカーソルキー(カ
ーソル左移動キー5g,カーソル右移動キー5h,カー
ソル上移動キー5i,カーソル下移動キー5j)および
カーソルをホームポジション(表示装置4の左上角)に
移動させるホームポジションキー5kを備えている。上
記カーソルキーのうちカーソル下移動キー5jは、入力
した数式の解を求めるイコールキー(実行キー)の機能
を兼ねている。すなわち、数式を入力したのちカーソル
を次(下)の行に移動させると、計算機はそのときカー
ソルがあった行の解を求める動作を実行する。なお、各
キーの入力状態は入力制御部7によって検出されCPU
1に入力される。
The key input device 5 includes a numeric keypad 5a for inputting numerical values, a code key 5b for inputting calculation codes (+,-, x, ÷), a subtotal key 5c for instructing a subtotal calculation mode, and a memory content. All clear key 5d for initialization, insert key 5e for inserting new data into already input data, delete key 5 for deleting already input data
f, a cursor key for moving the cursor left / right and up / down (cursor left move key 5g, cursor right move key 5h, cursor up move key 5i, cursor down move key 5j) and the cursor to the home position (upper left corner of the display device 4). It has a home position key 5k for moving. Of the cursor keys, the cursor down movement key 5j also has the function of an equal key (execution key) for obtaining the solution of the inputted mathematical expression. That is, when the cursor is moved to the next (lower) row after entering the mathematical formula, the computer executes the operation of finding the solution of the row where the cursor is at that time. The input state of each key is detected by the input control unit 7 and the CPU
Input to 1.

【0021】図4に表示装置4の表示例を示す。同図
(A)は、図3の数値を初めから7行分入力したの
ち、カーソル上方向移動キー5iでカーソルを4行目ま
で戻し、入力編集行ポインタL=4としたときの表示例
を示している。ここで、#記号がカーソルを表してい
る。この例では、数式は1項の数値であるため、この数
値がそのまま解として右の解表示エリアに転記される。
また、第8行の解表示エリアには既に入力された7つの
値の総計が表示されている。
FIG. 4 shows a display example of the display device 4. In the same figure (A), after inputting the numerical values of FIG. 3 from the beginning for 7 lines, the cursor is moved up to the 4th line by the cursor up movement key 5i, and the display example when the input edit line pointer L = 4 is set. Shows. Here, the # symbol represents the cursor. In this example, since the numerical expression is the numerical value of the first term, this numerical value is transferred as it is to the solution display area on the right as a solution.
In addition, the total of the seven values that have already been input is displayed in the solution display area on the eighth line.

【0022】図5は、同計算機のキーオン対応動作を示
すフローチャートである。キーオンが行われると、現在
小計モードであるか入力モードであるかを判断する(n
1)。小計モードであれば図6以下の小計モード対応動
作に進む。小計モードでなければ通常の入力モードであ
るか否かを判断する(n2)。入力モードであればn3
以下の入力対応動作に進み、入力モードでもなければそ
の他現在のモード対応動作に進む。
FIG. 5 is a flowchart showing the key-on handling operation of the computer. When the key is turned on, it is determined whether the subtotal mode or the input mode is currently set (n
1). If the subtotal mode, the operation corresponding to the subtotal mode shown in FIG. If it is not the subtotal mode, it is judged whether it is the normal input mode (n2). N3 in input mode
Proceed to the following input-compatible operation, and if not in the input mode, proceed to the other current mode-compatible operation.

【0023】入力モードであれば、オンされたキーがど
のキーであるかを判断する(n3,n4,n5)。オン
されたキーがテンキーまたは符号キーであれば(n
4)、現在カーソルがある行すなわち記憶エリアポイン
タLが指示する数式記憶エリアE(L)に入力された内
容を書き込むとともに(n6)、表示装置4の対応する
行の数式表示エリアに入力内容を表示する(n7)。オ
ンされたキーがカーソルキーであれば、オンされたカー
ソルキーがカーソル下移動キー5jであるかを判断する
(n8)。オンされたキーがカーソル下移動キー5jで
あれば、現在カーソルがある行すなわち記憶エリアポイ
ンタLが指示する数式記憶エリアE(L)の数式を計算
し(n9)、その解を解記憶エリアS(L)に書き込む
とともに、総計を計算して総計記憶エリアTを更新する
(n10)。これら解および総計を対応する解表示エリ
アに表示する(n11)。こののち、カーソルキーのオ
ンに対応してカーソルの表示を移動する(n12)。一
方、オンされたカーソルキーがカーソル下移動キー以外
であれば指示された方向にカーソルを移動する(n1
2)。また、オンされたキーが小計キー(STキー)で
あれば小計モードを設定する(n13)。これ以外のキ
ーがオンされた場合には、対応する動作を実行する。
In the input mode, it is judged which key is turned on (n3, n4, n5). If the turned-on key is a numeric keypad or a sign key (n
4) At the same time as the line where the cursor is currently located, that is, the formula input area E (L) pointed to by the storage area pointer L is written (n6), the input contents are displayed in the formula display area of the corresponding line of the display device 4. Display (n7). If the turned-on key is the cursor key, it is determined whether the turned-on cursor key is the cursor down movement key 5j (n8). If the turned-on key is the cursor down movement key 5j, the formula of the line on which the cursor is currently located, that is, the formula storage area E (L) designated by the storage area pointer L is calculated (n9), and the solution is stored in the solution storage area S. While writing to (L), the total is calculated and the total storage area T is updated (n10). These solutions and totals are displayed in the corresponding solution display area (n11). After that, the cursor display is moved in response to turning on of the cursor key (n12). On the other hand, if the turned-on cursor key is other than the cursor down movement key, the cursor is moved in the designated direction (n1
2). If the turned-on key is the subtotal key (ST key), the subtotal mode is set (n13). If any other key is turned on, the corresponding operation is executed.

【0024】図6は、同計算機の小計モード動作を示す
フローチャートである。この動作小計を算出する行数
Nを入力することにより、入力編集行Lから上方向にN
行分の小計を算出する動作である。小計キーがオンされ
小計モードが設定されているときこの動作が実行され
る。利用者がテンキー5aをオンするすると、これを小
計を算出する行数(数式の数)Nとして取り込む(n2
1)。こののち入力の終了を指示するカーソル下方向移
動キー5jがオンされると(n22)、入力された行数
Nと記憶エリアポインタLとを比較し(n23)、N=
0またはN>Lであれば入力の誤りであるとして終了し
(n24)、誤りがなければ小計を計算する(n2
5)。例えば、図4(A)の状態でN=3が入力された
場合、小計は、
FIG. 6 is a flowchart showing the subtotal mode operation of the computer. This operation is performed by inputting the number of lines N for calculating the subtotal,
This is an operation of calculating a subtotal for a line. This operation is executed when the subtotal key is turned on and the subtotal mode is set. When the user turns on the numeric keypad 5a, this is taken in as the number of rows (the number of mathematical expressions) N for calculating the subtotal (n2
1). After that, when the cursor down movement key 5j for instructing the end of input is turned on (n22), the number N of input lines is compared with the storage area pointer L (n23), and N =
If 0 or N> L, the input ends as an error (n24), and if there is no error, the subtotal is calculated (n2).
5). For example, when N = 3 is input in the state of FIG. 4 (A), the subtotal is

【0025】[0025]

【数1】 [Equation 1]

【0026】となる。なお、Nに負の値を入力すること
により、記憶エリアポインタLから下方向に向かって小
計を算出することも可能である。小計表示動作を実行し
(n26)、小計モードを解除して(n27)動作を終
了する。
[0026] By inputting a negative value for N, it is also possible to calculate the subtotal downward from the storage area pointer L. The subtotal display operation is executed (n26), the subtotal mode is released (n27), and the operation ends.

【0027】図7は、同計算機の小計モード動作の第2
の実施例を示すフローチャートである。この動作、カ
ーソルキーを用いてカーソルを移動することにより、小
計キーがオンされたときの記憶エリアポインタLから現
在カーソルがある行までの範囲の小計を自動計算する動
作である。小計キー5cがオンされてこの動作に進む
と、まず、現在の記憶エリアポインタLの内容を変数レ
ジスタMに代入する(n31)。Lの内容は小計モード
が解除されるまで固定される。次に、カーソル上移動キ
ー5i,カーソル下移動キー5jが操作されると(n3
2)、このキーオンに対応してカーソルを移動させると
ともに(n33)、以下の小計算出動作を実行する。
FIG. 7 shows a second subtotal mode operation of the computer.
3 is a flowchart showing an example of the above. This operation is an operation of automatically calculating a subtotal in the range from the storage area pointer L when the subtotal key is turned on to the line where the current cursor is by moving the cursor using the cursor key. When the subtotal key 5c is turned on to proceed to this operation, first, the current content of the storage area pointer L is substituted into the variable register M (n31). The content of L is fixed until the subtotal mode is released. Next, when the cursor up movement key 5i and the cursor down movement key 5j are operated (n3
2) The cursor is moved in response to this key-on (n33), and the following small calculation operation is executed.

【0028】カーソル上移動キー5iがオンされた場合
には(n34)、Mが1より大きいならば(n35)M
から1を減算する(n36)。Mが1以下ならば何もし
ない。一方、カーソル下移動キー5jがオンされた場合
には(n34)、Mが100よりも小さいならば(n3
7)、Mに1を加える(n38)。Mが100以上なら
ば何もしない。上記LとMの範囲の行の小計を算出し
(n39)、小計表示動作を実行する(n40)。この
のち、n32に戻って次の上下カーソル移動キーの押下
を待つ。このループ中で再度小計キー5cがオンされれ
ば、小計モードが解除され、この動作から抜ける。
When the cursor up movement key 5i is turned on (n34), when M is larger than 1 (n35) M
1 is subtracted from (n36). If M is 1 or less, do nothing. On the other hand, if the cursor down movement key 5j is turned on (n34), if M is smaller than 100 (n3).
7), 1 is added to M (n38). If M is 100 or more, do nothing. The subtotal of the rows in the range of L and M is calculated (n39), and the subtotal display operation is executed (n40). After this, the process returns to n32 and waits for the next up / down cursor moving key to be pressed. If the subtotal key 5c is turned on again in this loop, the subtotal mode is released and the operation is exited.

【0029】なお、n37では数式記憶エリアE(1) 〜
E(100) のうち数式が書き込まれている最後のエリアE
(MAX)までの範囲にMの更新を制限にしてもよい。
ただし、数式が書き込まれていないエリアが0にクリア
されていれば算出される小計の値はどちらも同じであ
る。
Note that in n37, the formula storage area E (1) ...
The last area E of E (100) where the formula is written
The update of M may be limited to the range up to (MAX).
However, if the area where the mathematical formula is not written is cleared to 0, the calculated subtotal values are the same.

【0030】以上の動作で求められる小計は、例えば図
4(A)でカーソル上移動キー5iを2回押せば、
The subtotal obtained by the above operation can be obtained, for example, by pressing the cursor up movement key 5i twice in FIG.

【0031】[0031]

【数2】 [Equation 2]

【0032】となる。It becomes

【0033】図8は同計算機の小計表示動作を示すフロ
ーチャートである。この動作は、小計算出範囲の解表示
エリアの内容をクリアし、クリアされた解表示エリアの
うち1行に小計を表示するものである。
FIG. 8 is a flowchart showing the subtotal display operation of the computer. This operation clears the contents of the solution display area subtotal calculation range, and displays the subtotal on one line of the cleared solution displaying area.

【0034】まず、小計を算出するために必要な数値を
設定する(n41)。数値としては、表示装置4の第1
行(i=1)に表示される記憶エリア番号Q,記憶エリ
アポインタL,小計算出範囲レジスタM,数式入力済の
記憶エリアの最大番号MAXなどである。つぎに、表示
装置4の行数を示す行数ポインタiをクリアする(n4
2)、こののち、以下のループ動作を実行する。まず、
iに1を加える(n43)。これによりiが7より大き
くなれば(n44)、表示装置4の全行について表示を
し終わっているので終了する。Q+i−1<Mならば小
計算出範囲外であるため数式とその解を表示する(n4
5,n46)。Q+i−1=Mならば、これは現在カー
ソルのある行であるため、数式表示エリアに数式とカー
ソルを表示するとともに値表示エリアに小計を表示する
(n47,n48)。Q+i−1≦Lならば、小計算出
範囲内であるためこの行には数式のみを表示し、解表示
エリアをクリアする(n49,n50)。また、Q+i
−1≦MAXならば、小計算出範囲外で数式が入力され
ている範囲内であるため、その行に数式およびその解を
表示し(n51,n52)、Q+i−1>MAXであれ
ばこの記憶エリアには何も入力されていないため、数式
表示エリアおよび解表示エリアを空白にする(n5
3)。なお、この動作は繰り返し実行され、表示装置4
の画面がスクロールした場合にはQを設定しなおして再
実行される。そして、小計モードが解除されたときこの
動作から抜ける。
First, the numerical value necessary for calculating the subtotal is set (n41). As for the numerical value, the first value of the display device 4
The storage area number Q displayed on the line (i = 1), the storage area pointer L, the small calculation range register M, the maximum number MAX of the storage area for which the mathematical expression has been input, and the like. Next, the row number pointer i indicating the number of rows of the display device 4 is cleared (n4
2) After that, the following loop operation is executed. First,
1 is added to i (n43). As a result, if i becomes larger than 7 (n44), all lines on the display device 4 have been displayed, and the process is terminated. If Q + i-1 <M, it is out of the small calculation range, so the mathematical expression and its solution are displayed (n4).
5, n46). If Q + i-1 = M, since this is the line where the cursor is currently located, the formula and the cursor are displayed in the formula display area and the subtotal is displayed in the value display area (n47, n48). If Q + i−1 ≦ L, it is within the small calculation range, so only the mathematical formula is displayed in this row and the solution display area is cleared (n49, n50). Also, Q + i
If -1≤MAX, it is outside the small calculation range and the mathematical expression is within the input range, so the mathematical expression and its solution are displayed in that row (n51, n52). If Q + i-1> MAX, then Since nothing has been entered in the storage area, the formula display area and the solution display area are left blank (n5
3). Note that this operation is repeatedly executed, and the display device 4
When the screen is scrolled, Q is set again and the process is re-executed. Then, when the subtotal mode is released, this operation is exited.

【0035】図4(A)の表示例では、Q=1,MAX
=7であるから、M=2,L=4として上記動作を実行
すると図4(B)のような表示が行われる。このよう
に、この表示方式では、小計を算出する範囲の解が消去
され、それに代えて小計が表示されるため、解表示エリ
アの総計値が変化しない。
In the display example of FIG. 4A, Q = 1, MAX
= 7, the display as shown in FIG. 4B is performed when the above operation is performed with M = 2 and L = 4. As described above, in this display method, the solution in the range for calculating the subtotal is erased and the subtotal is displayed instead, so that the total value of the solution display area does not change.

【0036】図9は同計算機の小計表示動作の他の実施
例を示すフローチャートである。この動作は、解表示エ
リアは小計算出範囲のもののみを表示し、表示装置の最
下行に小計を表示するものである。
FIG. 9 is a flow chart showing another embodiment of the subtotal display operation of the computer. In this operation , the solution display area is displayed only in the small calculation range, and the subtotal is displayed in the bottom line of the display device.

【0037】まず、小計を算出するために必要な数値を
設定する(n61)。数値としては、表示装置4の第1
行(i=1)に表示される記憶エリア番号Q,記憶エリ
アポインタL,小計算出範囲レジスタM,数式入力済の
記憶エリアの最大番号MAXなどである。つぎに、表示
装置4の行数を示す行数ポインタiをクリアする(n6
2)、こののち、以下のループ動作を実行する。まず、
iに1を加える(n63)。これによりiが7より大き
くなれば(n64)、すなわちi=8になれば、表示装
置4の最下行であるため、ここに総計に代えて小計を表
示して(n65)終了する。
First, the numerical value necessary for calculating the subtotal is set (n61). As for the numerical value, the first value of the display device 4
The storage area number Q displayed on the line (i = 1), the storage area pointer L, the small calculation range register M, the maximum number MAX of the storage area for which the mathematical expression has been input, and the like. Next, the row number pointer i indicating the number of rows of the display device 4 is cleared (n6
2) After that, the following loop operation is executed. First,
1 is added to i (n63). As a result, when i becomes larger than 7 (n64), that is, when i = 8, the display device 4 is at the bottom line, and therefore the subtotal is displayed here instead of the total (n65), and the process ends.

【0038】また、Q+i−1<Mならば小計算出範囲
外であるため数式を数式表示エリアに表示し、解表示エ
リアをクリアする(n66,n67)。M≦Q+i−1
≦Lならば、小計算出範囲内であるためこの行には数式
と解の両方を表示する(n68,n69)。また、Q+
i−1≦MAXならば、小計算出範囲外で数式が入力さ
れている範囲内であるため、その行には数式のみを表示
する(n70,n71)。Q+i−1>MAXであれば
この記憶エリアには何も入力されていないため、数式表
示エリアおよび解表示エリアを空白にする(n72)。
なお、この動作は繰り返し実行され、表示装置4の画面
がスクロールした場合にはQを設定しなおして再実行さ
れる。そして、小計モードが解除されたときこの動作か
ら抜ける。
If Q + i-1 <M, it is out of the small calculation range, so the mathematical expression is displayed in the mathematical expression display area and the solution display area is cleared (n66, n67). M≤Q + i-1
If ≤L, both the mathematical expression and the solution are displayed in this row because it is within the small calculation range (n68, n69). Also, Q +
If i−1 ≦ MAX, the mathematical expression is outside the small calculation range, and therefore only the mathematical expression is displayed on that line (n70, n71). If Q + i-1> MAX, nothing is entered in this storage area, so the formula display area and the solution display area are left blank (n72).
Note that this operation is repeatedly executed, and when the screen of the display device 4 scrolls, Q is set again and the operation is executed again. Then, when the subtotal mode is released, this operation is exited.

【0039】図4(A)の表示例では、Q=1,MAX
=7であるから、M=2,L=4として上記動作を実行
すると図4(C)のような表示が行われる。この表示方
式では、解記憶エリアには小計を求める範囲の解のみが
表示され、総計に代えて小計が表示されるため、小計の
みの積算内容を分かりやすく表示することができる。
In the display example of FIG. 4A, Q = 1, MAX
= 7, the display shown in FIG. 4C is performed when the above operation is executed with M = 2 and L = 4. In this display method, only the solutions in the range for which the subtotal is calculated are displayed in the solution storage area, and the subtotal is displayed instead of the total, so that the integrated content of only the subtotal can be displayed in an easy-to-understand manner.

【0040】[0040]

【発明の効果】以上のようにこの発明によれば、小計の
要素となる解を消去して小計を表示するようにしたこと
により、小計を特別な表示エリアを用いることなく表示
することができ、また、表示されている解の総計値が変
化しない。また、小計の要素となる解のみを表示して、
総計表示欄に小計を表示したことにより、表示手段を一
時的に小計のみの表示に切り換えることができ、小計を
分かりやすく表示することができる。また、前記範囲指
定をカーソル位置と数式の数の入力で行うようにしたこ
とにより、範囲指定を高速に行うことができる。また、
前記範囲指定をカーソルの移動で行うようにしたことに
より、範囲指定を容易にすることができる。
According to the above manner the present invention, according to the present invention, the subtotal
Deleted elemental solutions and displayed subtotals
Allows subtotals to be displayed without using a special display area
You can also change the total value of the displayed solution.
Does not turn into Also, display only the solutions that are the elements of the subtotal,
By displaying the subtotal in the grand total display column, the display means is
You can switch to the subtotal display only,
It can be displayed in an easy-to-understand manner. Further, since the range is designated by inputting the cursor position and the number of mathematical expressions, the range can be designated at high speed. Also,
By specifying the range by moving the cursor, the range can be specified easily.

【0041】[0041]

【0042】[0042]

【0043】[0043]

【0044】[0044]

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

【図1】この発明の実施例である計算機のブロック図FIG. 1 is a block diagram of a computer that is an embodiment of the present invention.

【図2】同計算機で処理される数式の例を示す図FIG. 2 is a diagram showing an example of a mathematical formula processed by the computer.

【図3】同計算機のメモリ構成の一部を示す図FIG. 3 is a diagram showing a part of a memory configuration of the computer.

【図4】同計算機の表示装置の表示例を示す図FIG. 4 is a diagram showing a display example of a display device of the computer.

【図5】同計算機の動作を示すフローチャートFIG. 5 is a flowchart showing the operation of the computer.

【図6】同計算機の動作を示すフローチャートFIG. 6 is a flowchart showing the operation of the computer.

【図7】同計算機の動作を示すフローチャートFIG. 7 is a flowchart showing the operation of the computer.

【図8】同計算機の動作を示すフローチャートFIG. 8 is a flowchart showing the operation of the computer.

【図9】同計算機の動作を示すフローチャートFIG. 9 is a flowchart showing the operation of the computer.

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

5c … 小計キー E(1) 〜E(100) … 数式記憶エリア、 S(1) 〜S(1
00) …解記憶エリア、L … 記憶エリアポインタ
5c ... Subtotal keys E (1) to E (100) ... Formula storage area, S (1) to S (1
00) ... solution storage area, L ... storage area pointer

フロントページの続き (56)参考文献 特開 平6−139261(JP,A) 特開 平5−173980(JP,A) 特開 平7−64917(JP,A) 実開 平1−116852(JP,U) 阿部友計著,“MS−Excel 操 作ガイドブック”,株式会社ナツメ社, 1990年,p.138−139 (58)調査した分野(Int.Cl.7,DB名) G06F 15/02 G06F 19/00 Continuation of the front page (56) Reference JP-A-6-139261 (JP, A) JP-A-5-173980 (JP, A) JP-A-7-64917 (JP, A) Actual Kaihei 1-116852 (JP , U) Yukei Abe, "MS-Excel Operation Guidebook", Natsume Co., 1990, p. 138-139 (58) Fields surveyed (Int.Cl. 7 , DB name) G06F 15/02 G06F 19/00

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数の数式を入力し、入力された数式の
解を積算することによって総計を算出し、総計表示エリ
アに表示する計算機において、 前記入力された複数の数式を記憶する数式記憶手段と、
該数式記憶手段に記憶されている数式の一部の範囲を指
定する範囲指定手段と、該範囲指定手段で指定された
囲内にある数式の解の積算値を求めて小計として算出す
る小計算出手段と、上記範囲指定手段で指定された範囲外の数式及びその解
については数式表示エリアと解表示エリアにそれぞれ表
示するとともに、上記範囲指定手段で指定された範囲内
の数式及びその解については数式表示エリアに数式を表
示する一方、解表示エリアの当該範囲の1行に前記小計
を表示し他の行を空白とする表示手段と、を備えること
を特徴とする 計算機。
1. A computer for inputting a plurality of mathematical expressions, calculating a total by accumulating solutions of the input mathematical expressions, and displaying the total in a total display area, a mathematical expression storing means for storing the plurality of input mathematical expressions. When,
A range specifying means for specifying a portion of the range of formulas that are stored in said number-equation storage means, range designated by the range designating means
Equations and solutions the solution of means out small calculation that calculates a subtotal seeking integrated value outside the range specified in the above range specifying means formula in囲内
Are displayed in the formula display area and the solution display area, respectively.
Within the range specified by the above range specification means
The formulas and their solutions are displayed in the formula display area.
On the other hand, the subtotal is displayed in one line of the range in the solution display area.
And a display means for displaying other lines and blanking other lines.
A calculator characterized by .
【請求項2】 複数の数式を入力し、入力された数式の
解を積算することによって総計を算出し、総計表示エリ
アに表示する計算機において、 前記入力された複数の数式を記憶する数式記憶手段と、
該数式記憶手段に記憶されている数式の一部の範囲を指
定する範囲指定手段と、該範囲指定手段で指定された範
囲内にある数式の解の積算値を求めて小計として算出す
る小計算出手段と、 上記範囲指定手段で指定された範囲内の数式及びその解
については数式表示エリアと解表示エリアにそれぞれ表
示するとともに、上記範囲指定手段で指定された範囲外
の数式及びその解については数式表示エリアに数式を表
示する一方、解表示エリアの当該範囲を空白にし、且つ
前記小計を前記総計表示エリアに表示する表示手段と、
を備えることを特徴とする 計算機。
2. Entering a plurality of mathematical expressions,
The total is calculated by accumulating the solutions, and the total display area is displayed.
In the computer displayed in a, the formula storage means for storing the plurality of input formulas,
The range of a part of the formula stored in the formula storage means is designated.
Range specifying means and the range specified by the range specifying means.
Calculate the integrated value of the solution of the formula in the box and calculate it as a subtotal
Small calculation means, and the formula and its solution within the range specified by the range specifying means.
Are displayed in the formula display area and the solution display area, respectively.
In addition to indicating, outside the range specified by the above range specification means
The formulas and their solutions are displayed in the formula display area.
On the other hand, leave the range in the solution display area blank, and
Display means for displaying the subtotal in the total display area,
A computer characterized by comprising .
【請求項3】 前記表示手段上に表示されるカーソルを
移動させるカーソル移動手段と、数値入力手段とを備
え、 前記範囲指定手段は、前記カーソルの表示位置から、数
値入力手段で入力された行数だけ行方向に移動した位置
までの範囲を指定する手段である 請求項1または2に記
載の計算機。
3. A cursor displayed on the display means
Equipped with cursor moving means for moving and numerical input means
E, the range designating means is a number from the display position of the cursor.
Position moved in the row direction by the number of rows input by the value input means
The computer according to claim 1 or 2, which is a means for designating a range up to .
【請求項4】 前記表示手段上に表示されるカーソルを
移動させるカーソル移 動手段と、小計算出を指示する指
示手段とを備え、 前記範囲指定手段は、前記指示手段によって小計の算出
が指示されたときカーソルがあった位置から、前記カー
ソル移動手段によってカーソルが行方向に移動した位置
までの範囲を指定する手段であり、 前記小計算出手段は、前記カーソルが下方向に移動する
ことに対応して、前記小計を算出することを特徴とする
請求項1または2記載の計算機。
4. A cursor displayed on the display means
Cursor moving means for moving the fingers to direct the subtotal calculation
And a indicates means, the range specifying means, calculates the subtotal by said instructing means
From the position where the cursor was when the
The position where the cursor moved in the row direction by the sol movement means
Is a means for designating a range up to, and the small calculation output means moves the cursor downward.
The computer according to claim 1 or 2 , wherein the subtotal is calculated correspondingly .
JP11997895A 1995-05-18 1995-05-18 calculator Expired - Fee Related JP3392583B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11997895A JP3392583B2 (en) 1995-05-18 1995-05-18 calculator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11997895A JP3392583B2 (en) 1995-05-18 1995-05-18 calculator

Publications (2)

Publication Number Publication Date
JPH08314866A JPH08314866A (en) 1996-11-29
JP3392583B2 true JP3392583B2 (en) 2003-03-31

Family

ID=14774894

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11997895A Expired - Fee Related JP3392583B2 (en) 1995-05-18 1995-05-18 calculator

Country Status (1)

Country Link
JP (1) JP3392583B2 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
阿部友計著,"MS−Excel 操作ガイドブック",株式会社ナツメ社,1990年,p.138−139

Also Published As

Publication number Publication date
JPH08314866A (en) 1996-11-29

Similar Documents

Publication Publication Date Title
TWI247268B (en) Figure display control device and recording medium for executing display of graph and figure
US4794554A (en) Electronic calculator having a graph display function
KR100694679B1 (en) Method and apparatus for entering data strings including hangulkorean and ascii characters
JP4961792B2 (en) Formula editing apparatus and formula editing program
JPS60263256A (en) Computer provided with skill degree function
JP3392583B2 (en) calculator
JP3344641B2 (en) Electronic desk calculator
US8671125B2 (en) Electronic calculator and computer-readable medium
USRE46215E1 (en) Computing machine with an inequality computation function
US7272621B2 (en) Previous calculation reuse in a calculator
JP3508142B2 (en) Electronic calculator with graph display function
JP3274747B2 (en) calculator
JP5141208B2 (en) Prime factorization calculator
JP2002099516A (en) Electronic desk-top calculator
JP2695082B2 (en) Electronic device with graph shadowing function
JP2560344Y2 (en) Small electronic calculator
JPS5935265A (en) Electronic calculator
JP5532890B2 (en) Display device and program
JP2001027999A (en) Arithmetic graphic form and processing system
JPH02111995A (en) Input data processing and displaying method by plural cursors
JP2743838B2 (en) Input device
JPH0435955Y2 (en)
JP2936546B2 (en) Character centering device and processing device equipped with this device
JP2518189B2 (en) Numerical data arithmetic device and method
JP3940771B2 (en) Calculation method that minimizes input and checking

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080124

Year of fee payment: 5

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 6

Free format text: PAYMENT UNTIL: 20090124

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100124

Year of fee payment: 7

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110124

Year of fee payment: 8

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120124

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees