JPH05242120A - Electronic display device - Google Patents

Electronic display device

Info

Publication number
JPH05242120A
JPH05242120A JP4252953A JP25295392A JPH05242120A JP H05242120 A JPH05242120 A JP H05242120A JP 4252953 A JP4252953 A JP 4252953A JP 25295392 A JP25295392 A JP 25295392A JP H05242120 A JPH05242120 A JP H05242120A
Authority
JP
Japan
Prior art keywords
name
area
display
key
numerical
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
JP4252953A
Other languages
Japanese (ja)
Inventor
Hiroyuki Yokogawa
裕幸 横川
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 JP4252953A priority Critical patent/JPH05242120A/en
Publication of JPH05242120A publication Critical patent/JPH05242120A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To enable an operator to easily set a calculation expression by setting a storage means storing with a name set by a name setting means and the calculation expression including the stored name as a variable. CONSTITUTION:Optional display areas are specified for display data displayed on a display screen by an area specifying means, and optional names consisting of desired character strings are set in the respective display areas by the name setting means and then stored in a RAM 13. Further, the calculation expression including the names as variables is set by an expression setting means separately. Then, when numerical data are inputted to the respective display areas by a key input device 5, an arithmetic circuit 15 performs an arithmetic operation based on the numerical data inputted to the display areas corresponding to the names included in the calculation expression according to the calculation expression. Therefore, list of the optionally assigned names can be displayed and when the calculation expression is set, the operator can easily recognize which name is usable.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、表示画面上に入力され
た数値データに基づいて演算を行なう演算機能を備えた
電子式表示装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic display device having a calculation function for performing calculation based on numerical data input on a display screen.

【0002】[0002]

【従来の技術】ワードプロセッサにより文書を作成する
場合、文面が同一で特定の数値のみ置き換えて複数作成
するものが多い。例えば、見積書等において、商品の数
量、単価、金額等を記入するような場合である。オフィ
スコンピュータでは、当然、あとから数値を入力して計
算を行なわせることができるが、ワードプロセッサは
「文書作成装置」なので、このような機能は持っていな
い。従って、従来のワードプロセッサでは各文書毎に数
量と単価を代入し、別に計算した上で金額を代入しなけ
ればならず、非常に面倒であった。
2. Description of the Related Art When a document is created by a word processor, it is often the case that the text is the same and a plurality of documents are created by replacing only specific numerical values. For example, this is a case where the quantity, unit price, amount of money, etc. of a product are entered in an estimate or the like. In an office computer, of course, it is possible to input numerical values later to perform calculations, but since the word processor is a "document creation device", it does not have such a function. Therefore, in the conventional word processor, the quantity and the unit price must be substituted for each document, and the amount must be calculated after separately calculating, which is very troublesome.

【0003】また、表計算機能を有する電子計算機、例
えば特開昭47−13843号公報に開示される電子計
算機等にあっては、表内の各コラムに対してデータを入
力することで所望する演算を行なわせ、この演算結果を
所望するコラムに出力できるようにしたものが知られて
いる。
An electronic computer having a spreadsheet function, such as the electronic computer disclosed in Japanese Patent Laid-Open No. 47-13843, is desired by inputting data to each column in the table. It is known that a calculation is performed and the calculation result can be output to a desired column.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記電
子計算機においては、表示画面上での演算機能として充
分な開示をしておらず、従って、表示画面上の各表示領
域に入力される数値データを変数とする計算式を設定す
ることや、上記各表示領域に所望する任意の名前を割当
てて、計算式の設定や計算式の指定をオペレータにとっ
て極めて容易にするための工夫は一切行なわれていなか
った。
However, the above-mentioned electronic computer does not sufficiently disclose the calculation function on the display screen, and therefore, the numerical data input to each display area on the display screen is not disclosed. No contrivances have been made to set calculation formulas as variables or assign desired arbitrary names to the above display areas to make it extremely easy for the operator to set calculation formulas or specify calculation formulas. It was

【0005】本発明の課題は、表示画面上の各表示領域
を変数とする計算式を設定する際、各表示領域に対して
オペレータが所望する任意の名前を割当てておけるよう
にするとともに、この任意に設定した名前の一覧を表示
できるようにすることで、上記計算式の設定がオペレー
タにとって容易になるようにすることである。
An object of the present invention is to allow an arbitrary name desired by an operator to be assigned to each display area when setting a calculation formula having each display area on a display screen as a variable. By making it possible to display a list of arbitrarily set names, the operator can easily set the above calculation formula.

【0006】[0006]

【課題を解決するための手段】本発明の手段は次の通り
である。
The means of the present invention are as follows.

【0007】表示画面に表示される表示データ上におい
て任意の表示領域を指定する領域指定手段と、この領域
指定手段で指定された各表示領域に対して、所望する文
字列からなる任意の名前を設定する名前設定手段と、こ
の名前設定手段により設定された名前を記憶する記憶手
段と、この名前記憶手段に記憶された名前を変数とする
計算式を設定する式設定手段と、上記各表示領域に数値
データを入力する入力手段と、上記計算式に含まれる上
記名前に対応する表示領域に入力された数値データに基
づいて、上記計算式に従った演算を実行する演算手段
と、所定の操作により、上記名前記憶手段に記憶された
名前を上記表示画面上に一覧表示する表示制御手段と、
を備える。
An area designating means for designating an arbitrary display area on the display data displayed on the display screen and an arbitrary name consisting of a desired character string for each display area designated by the area designating means Name setting means to be set, storage means for storing the name set by the name setting means, formula setting means for setting a calculation formula having the name stored in the name storage means as a variable, and the display areas An input means for inputting numerical data, an arithmetic means for executing an operation according to the above-mentioned calculation formula based on the numerical data inputted in the display area corresponding to the name included in the above-mentioned calculation formula, and a predetermined operation Display control means for displaying a list of names stored in the name storage means on the display screen,
Equipped with.

【0008】[0008]

【作用】本発明の手段の作用は次の通りである。The operation of the means of the present invention is as follows.

【0009】領域指定手段により表示画面に表示される
表示データ上において任意の表示領域を指定し、この各
表示領域に対して所望する文字列からなる任意の名前
を、名前設定手段により設定しておくと、この各名前は
記憶手段に記憶される。また、これとは別に、式設定手
段により上記名前を変数とする計算式を設定しておく。
この後、入力手段により上記各表示領域に数値データを
入力すると、演算手段は、上記計算式に含まれる上記名
前に対応する表示領域に入力された数値データに基づい
て、上記計算式に従った演算を実行する。そして、オペ
レータにより所定の操作がなされると、表示制御手段は
上記名前記憶手段に記憶された名前を上記表示画面上に
一覧表示する。
An arbitrary display area is designated on the display data displayed on the display screen by the area designating means, and an arbitrary name consisting of a desired character string is set for each display area by the name setting means. When set, each of these names is stored in the storage means. Separately from this, the formula setting means sets a calculation formula using the above name as a variable.
After that, when numerical data is input to each of the display areas by the input means, the calculation means follows the above calculation formula based on the numerical data input to the display area corresponding to the name included in the calculation formula. Perform an operation. Then, when a predetermined operation is performed by the operator, the display control means displays a list of names stored in the name storage means on the display screen.

【0010】従って、表示画面上の各表示領域を変数と
する計算式を設定する際、各表示領域に対してオペレー
タが所望する任意の名前を割当てておくことができ、ま
た、これとともに、この任意に割当てた名前の一覧を表
示することができ、上記計算式を設定する際、どの名前
が使えるか等をオペレータは容易に把握することができ
る。
Therefore, when setting a calculation formula in which each display area on the display screen is a variable, an arbitrary name desired by the operator can be assigned to each display area. A list of arbitrarily assigned names can be displayed, and the operator can easily understand which name can be used when setting the above calculation formula.

【0011】[0011]

【実施例】以下図面を参照して一実施例を説明する。図
1は、外観構成を示すもので、1はワードプロセッサ本
体、2はこのワードプロセッサ本体1に接続されるプリ
ンタである。上記ワードプロセッサ本体1には、フロッ
ピーディスク(FDD)部3a,3b、CRT表示部
4、キー入力装置5が設けられる。このキー入力装置5
は、漢字等の日本語文字入力用キーボード6a〜6cと
共に、数値データ及び各種ファンクションデータ入力用
のキーボード7を備えている。そして、このキーボード
7には、例えばテンキー、アルファベットキー、カーソ
ルキー、TAB(タブ)キー、演算指示キー、合計キ
ー、印字キー、円(¥)、ドル($)等の通貨キーと共
に、「数値」、「領域」、「実行」、「YES」、「N
O」等の機能を持つキーが設けられている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment will be described below with reference to the drawings. FIG. 1 shows an external configuration. Reference numeral 1 is a word processor main body, and 2 is a printer connected to the word processor main body 1. The word processor body 1 is provided with floppy disk (FDD) units 3a and 3b, a CRT display unit 4, and a key input device 5. This key input device 5
Includes a keyboard 7 for inputting numerical data and various function data, as well as keyboards 6a to 6c for inputting Japanese characters such as Chinese characters. On the keyboard 7, for example, numeric keys, alphabet keys, cursor keys, TAB (tab) keys, calculation instruction keys, total keys, print keys, currency keys such as yen ($), dollar ($), and , "Area", "execute", "YES", "N"
A key having a function such as "O" is provided.

【0012】次に図2により、上記ワードプロセッサ本
体1内に設けられる電子回路について説明する。図2に
おいて11はマイクロプログラム制御回路で、例えばR
OM(リード・オンリ・メモリ)によって構成されるも
ので、各種制御用マイクロプログラムを記憶している。
そして、上記マイクロプログラム制御回路11には、キ
ー入力装置5、I/Oコントローラ12、データ記憶用
RAM(ランダム・アクセス・メモリ)13、詳細を後
述する数値テーブル14、演算回路15、編集回路1
6、カーソルコントローラ17、メッセージRAM18
等が接続される。
Next, the electronic circuit provided in the word processor main body 1 will be described with reference to FIG. In FIG. 2, 11 is a microprogram control circuit, for example, R
It is composed of an OM (Read Only Memory) and stores various control microprograms.
The micro program control circuit 11 includes a key input device 5, an I / O controller 12, a data storage RAM (random access memory) 13, a numerical table 14 whose details will be described later, an arithmetic circuit 15, and an editing circuit 1.
6, cursor controller 17, message RAM 18
Etc. are connected.

【0013】そして、上記I/Oコントローラ12は、
マイクロプログラム制御回路11からの指令に従ってプ
リンタ2及びフロッピーディスクとRAM13との間の
データ転送制御を行なう。また、このRAM13にはキ
ー入力装置5からのキー入力データからのキー入力デー
タが与えられる。さらに、RAM13はマイクロプログ
ラム制御回路11の制御により数値テーブル14、演算
回路15との間でデータの書込み、読出しが行なわれ
る。
The I / O controller 12 is
Data transfer between the printer 2 and the floppy disk and the RAM 13 is controlled in accordance with a command from the micro program control circuit 11. Further, the RAM 13 is supplied with key input data from the key input data from the key input device 5. Further, the RAM 13 is controlled by the microprogram control circuit 11 to write and read data with the numerical table 14 and the arithmetic circuit 15.

【0014】また、上記編集回路16は、文書メモリ1
9に対する編集を行なうもので、この文書メモリ19に
は数値テーブル14からデータが書込まれる。そして、
上記文書メモリ19から読出されるデータは、表示コン
トローラ20へ送られる。更に、この表示コントローラ
20には、カーソルコントローラ17からカーソルデー
タが入力されると共に、メッセージRAM18から読出
されるメッセージが入力される。上記表示コントローラ
20は、上記入力データに従ってCRT表示部4にキャ
ラクタジェネレータ(図示せず)等を介して表示用デー
タを出力する。
Further, the editing circuit 16 is provided in the document memory 1
9 is edited, and data is written in the document memory 19 from the numerical table 14. And
The data read from the document memory 19 is sent to the display controller 20. Further, the cursor data is input from the cursor controller 17 and the message read from the message RAM 18 is input to the display controller 20. The display controller 20 outputs display data to the CRT display unit 4 via a character generator (not shown) or the like according to the input data.

【0015】そして、上記数値テーブル14は、図3に
示すようにA1 〜A9 のエリアからなり、A1 エリアに
は名前、A2 エリアには通貨記号、A3 エリアには数
値、A4 エリアには数値表示領域の開始アドレス「fr
om」、A5 エリアには上記数値表示領域の終了アドレ
ス「to」、A6 エリアには枠取りフラグ、A7 エリア
には繰り返し情報、A8 エリアにはどこまで計算したか
を示す入力フラグ、A9エリアには計算式を記憶するよ
うになっている。この場合、A6 エリアの上記枠取りフ
ラグは、名前の定義前に書込まれているが、定義すると
消去される。また、A7 エリアの繰返し情報は、定義し
た名前を何行おきで何回繰り返すかを示す情報である。
As shown in FIG. 3, the numerical table 14 is composed of areas A1 to A9. The A1 area has a name, the A2 area has a currency symbol, the A3 area has a numerical value, and the A4 area has a numerical value. Area start address "fr
om ", the end address" to "of the above numerical value display area in the A5 area, a framed flag in the A6 area, repeated information in the A7 area, an input flag indicating to what extent the A8 area is calculated, and an A9 area in the A9 area. It is designed to store the calculation formula. In this case, the framing flag of the A6 area is written before the name is defined, but it is erased when it is defined. The repetition information in the A7 area is information indicating how many rows the defined name is repeated and how many times.

【0016】次に、上記実施例の動作を説明する。今例
えば図4(a)に示す見積表を作成するものとすれば、
まず、図4(b)に示すように漢字、カナ等による日本
語文については最初から順次作成していくが、金額等の
数値データは入力せず、日本語文の作成途中あるいは日
本語文作成終了後にその領域等の指定処理を行なう。上
記文書の作成に際してキー入力装置5からデータを入力
すると、まず、RAM13に記憶され、その後、マイク
ロプログラム制御回路11より編集回路16を経て文書
メモリ19に書込まれる。
Next, the operation of the above embodiment will be described. For example, if the estimation table shown in FIG. 4A is created,
First, as shown in Fig. 4 (b), Japanese sentences such as kanji and kana are created one by one from the beginning, but numerical data such as the amount of money is not input, either during or after the completion of Japanese sentence creation. A process for designating the area or the like is performed. When data is input from the key input device 5 when creating the document, it is first stored in the RAM 13 and then written in the document memory 19 from the micro program control circuit 11 through the editing circuit 16.

【0017】そして、例えば日本語文の作成終了後にお
いて、数値領域の定義を行なう。図4(a)の場合に
は、「アンプ」…「合計」までの文書を作成した後、
「アンプ」の定価「¥89,000」に対する数値領域
定義を行なう。この数値領域定義は、キーボード7に設
けられている「数値」キーを操作することにより、図
5,図6に示すフローチャートに従って処理される。ま
ず、上記したように「数値」キーを操作し、その後、カ
ーソルを定義したい領域の先頭へ移動し、次いで図5の
ステップX1 に示すように「領域」キーを操作する。こ
の「領域」キーが操作されるとステップX2 に進み、数
値テーブル14のFROMエリアA4 に上記カーソルに
よって示されているアドレスをセットする。
Then, for example, after the creation of the Japanese sentence is completed, the numerical area is defined. In the case of FIG. 4A, after creating documents up to "Amplifier" ... "Total",
Define the numerical value area for the fixed price "¥ 89,000" of "Amplifier". This numerical value area definition is processed according to the flow charts shown in FIGS. 5 and 6 by operating the “numerical value” key provided on the keyboard 7. First, the "numerical value" key is operated as described above, and then the cursor is moved to the head of the area to be defined, and then the "area" key is operated as shown in step X1 of FIG. When this "area" key is operated, the flow advances to step X2 to set the address indicated by the cursor in the FROM area A4 of the numerical table 14.

【0018】次いでステップX3 に示すように、カーソ
ルを上記定義したい領域の最後へ移動し、その後ステッ
プX4 に示すように「領域」キーを操作する。この「領
域」キーが操作されることによって、次のステップX5
へ進み、数値テーブル14のTOエリアA5に上記カー
ソルによって示されているアドレスをセットする。その
後ステップX6 に示すように数値テーブル14の枠取り
フラグエリアA6 にフラグデータを書込み、上記指定領
域を反転すると共に枠取り表示する。
Then, as shown in step X3, the cursor is moved to the end of the area to be defined, and then the "area" key is operated as shown in step X4. By operating this "area" key, the next step X5
Then, the process proceeds to step S6 and the address indicated by the cursor is set in the TO area A5 of the numerical table 14. After that, as shown in step X6, the flag data is written in the framed flag area A6 of the numerical table 14, and the designated area is reversed and the framed display is made.

【0019】その後、必要に応じてステップX7 に示す
ような通貨記号、つまり、この場合には円記号¥を入力
する。この円記号を入力すると、数値テーブル14の通
貨記号エリアA2 に通貨記号が書込まれ、ステップX9
において上記指定領域に通貨記号¥が表示される。ま
た、ステップX10においては、アルファベットキーを操
作して名前例えば「A」を入力する。このキー操作によ
りステップX11に進み、数値テーブル14の名前エリア
A1 に名前「A」をセットし、ステップX12において図
4(b)に示すように指定領域に円記号「¥」と共に名
前「A」を表示する。
Thereafter, if necessary, a currency symbol as shown in step X7, that is, a yen symbol \ in this case is input. When you enter this yen symbol, the currency symbol is written in the currency symbol area A2 of the numerical table 14, and step X9
In, the currency symbol \ is displayed in the designated area. In step X10, the alphabet key is operated to input a name such as "A". By this key operation, the process proceeds to step X11 to set the name "A" in the name area A1 of the numerical table 14, and in step X12, the name "A" together with the yen symbol "\" is set in the designated area as shown in FIG. 4B. Is displayed.

【0020】次いで図6のステップX13に示すように
「実行」キーを操作する。このキー操作によりステップ
X14に進み、メッセージRAM18に記憶されている
「くり返しますか?」のメッセージを読出し、CRT表
示部4のコンソールエリア4Aに表示する。この時、繰
り返しを行なわなければ、ステップX15に示すように
「NO」キーを操作する。この「NO」キーを操作した
場合は、以上で数値領域の指定処理を終了する。また、
繰り返しを行なう場合はステップX16に示すように「Y
ES」キーを操作する。この「YES」キーの操作を行
なった場合は、ステップX17に進み、メッセージRAM
18から「くり返し数を入力して下さい」のメッセージ
を読出してCRT表示部4に表示する。
Then, as shown in step X13 of FIG. 6, the "execute" key is operated. By this key operation, the process proceeds to step X14 to read the message "Repeat?" Stored in the message RAM 18 and display it in the console area 4A of the CRT display unit 4. At this time, if it is not repeated, the "NO" key is operated as shown in step X15. When the "NO" key is operated, the specification process of the numerical area is completed. Also,
When repeating, as shown in step X16, "Y
Operate the "ES" key. If the "YES" key is operated, the process proceeds to step X17, where the message RAM
The message “Please input the number of repeats” is read from 18 and displayed on the CRT display unit 4.

【0021】上記メッセージに従ってオペレータはステ
ップX18に示すように数値n例えば「4」を入力し、数
値テーブル14の繰返し情報エリアA7 にセットする。
上記数値nを入力するとステップX19に進み、「くり返
し間隔を入力して下さい」のメッセージを表示する。こ
の表示によりステップX20に示すように繰り返し間隔L
を入力し、数値テーブル14の繰り返し情報エリアA7
にセットする。図4の場合は1行おきに文書データを表
示しているので、Lの値は「1」である。そして、上記
繰り返し間隔Lを入力すると、ステップX21に進み、繰
り返しエリアのFROM−TOのアドレス計算が演算回
路15で行なわれる。この時のアドレス計算は、図4に
おける品名「チューナ」に対する数値領域を求めてい
る。そして、ステップX21で求めたデータは、ステップ
X22において、数値テーブル14の名前Aの次の行にお
けるFROMエリアA4 、TOエリアA5 にセットす
る。
According to the above message, the operator inputs a numerical value n, for example, "4" as shown in step X18, and sets it in the repetitive information area A7 of the numerical value table 14.
When the above numerical value n is entered, the process proceeds to step X19, and the message "Enter repeat interval" is displayed. With this display, as shown in step X20, the repeat interval L
Enter, and repeat information area A7
Set to. In the case of FIG. 4, since the document data is displayed every other line, the value of L is “1”. When the repeat interval L is input, the operation proceeds to step X21, and the FROM-TO address of the repeat area is calculated by the arithmetic circuit 15. In the address calculation at this time, the numerical value area for the product name "tuner" in FIG. 4 is obtained. Then, in step X22, the data obtained in step X21 is set in the FROM area A4 and TO area A5 in the line next to the name A in the numerical table 14.

【0022】次いでステップX23に進み、上記指定エリ
アに対する反転及び枠取り表示を行なう。その後、ステ
ップX24に進み、上記FROM−TOエリアへのデータ
セットをステップX18で設定した値nの回数終了したか
否かを判定する。上記判定の結果がNOであればステッ
プX21に戻って同様の処理を繰返す。そして、n回の処
理を終了するとステップX24の判定結果がYESとなっ
て数値領域の設定処理を終了する。
Next, in step X23, the designated area is highlighted and framed. Then, the process proceeds to step X24, and it is determined whether or not the data set in the FROM-TO area has been completed the number of times of the value n set in step X18. If the result of the determination is NO, the process returns to step X21 and the same processing is repeated. When the processing of n times is completed, the determination result of step X24 becomes YES and the setting processing of the numerical value area is completed.

【0023】なお、上記の処理において、X1 ,X3 ,
X4 ,X7 ,X10,X13,X15,X16,X18,X20等の
キー入力ステップでは、そのキー操作が行なわれるま
で、マイクロプログラム制御回路11からキー入力装置
5へキー待ち信号が送られている。上記のようにして定
価に対する数値領域定義を行なった後、掛率、値段、合
計等に対する数値領域定義を同様にして行なう。
In the above processing, X1, X3,
In the key input step of X4, X7, X10, X13, X15, X16, X18, X20, etc., a key wait signal is sent from the microprogram control circuit 11 to the key input device 5 until the key operation is performed. After defining the numerical area for the fixed price as described above, the numerical area for the multiplication rate, price, total, etc. is similarly defined.

【0024】次に、値段、合計等を求める計算式を定義
する。この計算式の定義はキーボード7上の「計算式」
キーを操作することにより図7,図8に示すフローに従
って行なわれる。まず、上記「計算式」キーの操作を行
なうと、図7のステップY1に示すようにマイクロプロ
グラム制御回路11の制御によりCRT表示部4のコン
ソールエリア4Aに「1.定義」、「2.参照」のメッ
セージが表示される。
Next, a calculation formula for obtaining prices, totals, etc. will be defined. The definition of this calculation formula is "calculation formula" on the keyboard 7.
The operation is performed according to the flow shown in FIGS. 7 and 8 by operating the key. First, when the "calculation formula" key is operated, "1. definition" and "2. reference" are displayed in the console area 4A of the CRT display section 4 under the control of the microprogram control circuit 11 as shown in step Y1 of FIG. Message is displayed.

【0025】計算式定義の場合には、ステップY2 に示
すように数値キー「1」を操作し、「1.定義」を指定
する。上記の定義指定によりステップY3 に示すように
CRT表示部4のコンソールエリア4Aに「1.連
続」、「2.個別」の表示が行なわれる。連続で行なう
場合には、数値キー「1」を操作してステップY4 に示
すように「1.連続」を指定する。上記の連続指定によ
りステップY6 に示すように、コンソールエリア4Aに
最初の名前、つまり、数値テーブル14に登録した最初
の名前「A」が表示される。この名前「A」については
式を定義する必要がないので、「実行」キーを操作して
パスする。
In the case of the calculation formula definition, the numerical key "1" is operated as shown in step Y2 to specify "1. definition". By the above definition designation, "1. continuous" and "2. individual" are displayed in the console area 4A of the CRT display section 4 as shown in step Y3. In case of continuous operation, the numerical key "1" is operated to specify "1. continuous" as shown in step Y4. By the above continuous designation, as shown in step Y6, the first name, that is, the first name "A" registered in the numerical table 14 is displayed in the console area 4A. Since it is not necessary to define an expression for this name "A", the "execute" key is operated to pass.

【0026】この実行キーの操作により次の名前「B」
が数値テーブル14から読み出されてコンソールエリア
4Aに表示される。この「B」についても式を定義する
必要がないので、「実行」キーを操作してパスする。こ
の実行キーの操作により次の名前「C」が数値テーブル
14から読み出され、コンソールエリア4Aに表示され
る。この名前「C」は値段に対するもので式を定義する
必要があるので、ステップSY6 において「C=A×
B」つまり、「定価」と「掛率」との乗算式をキー操作
により定義する。
By the operation of this execution key, the next name "B"
Is read from the numerical table 14 and displayed in the console area 4A. Since there is no need to define an expression for this "B" either, the "execute" key is operated to pass. By the operation of this execution key, the next name "C" is read from the numerical value table 14 and displayed in the console area 4A. Since this name "C" is for the price and it is necessary to define the formula, "C = A ×" is calculated in step SY6.
B ”That is, the multiplication expression of“ fixed price ”and“ multiplication rate ”is defined by key operation.

【0027】次いで、ステップY7 に進み、数値テーブ
ル14の計算式エリアA9 に上記の計算式を書込む。そ
の後、数値テーブル14内のエリアA6 における枠取り
フラグをリセットし、ステップY8 に示すようにCRT
表示部4上の名前Cに対する枠取りを解除する。そし
て、ステップY9 において最後の名前まで進んだか否か
を判断する。最後の名前まで終わっていない場合には、
ステップY5 へ戻って同様の処理を繰り返す。図4の例
では名前「D」に対する計算式、つまり各Cの値を合計
する計算式をキー操作によって定義し、数値テーブル1
4の計算式エリアA9 に書込む。そして、全部の名前に
対する式の定義を終了すると、ステップY9 の判断結果
がYESとなって計算式定義フローを終了する。
Next, in step Y7, the above formula is written in the formula area A9 of the numerical table 14. After that, the framing flag in the area A6 in the numerical table 14 is reset, and the CRT is displayed as shown in step Y8.
The frame for the name C on the display unit 4 is released. Then, in step Y9, it is determined whether or not the name has reached the last name. If the last name is not over,
Returning to step Y5, the same processing is repeated. In the example of FIG. 4, the calculation formula for the name “D”, that is, the calculation formula for summing the values of each C is defined by key operation, and the numerical table 1
Write in the formula area A9 of 4. Then, when the definition of the expressions for all the names is completed, the judgment result of step Y9 becomes YES, and the calculation expression definition flow ends.

【0028】また、一方、上記ステップY3 において
「1.連続」、「2.個別」の表示に対し、数値キー
「2」を操作してステップY10に示すように「2.個
別」を指定した場合は、ステップY11に示すようにキー
操作によって定義する名前「C」を入力する。この名前
「C」の指定によって数値テーブル14内のサーチが行
なわれる。続いてステップY13に示すように「C」に対
する式を定義すると、ステップY14において数値テーブ
ル14内の計算式エリアA9 に計算式がセットされる。
On the other hand, in step Y3, in response to the display of "1. continuous" and "2. individual", the numerical key "2" is operated to specify "2. individual" as shown in step Y10. In this case, as shown in step Y11, the name "C" defined by the key operation is input. A search in the numerical value table 14 is performed by designating the name "C". Then, when the formula for "C" is defined as shown in step Y13, the formula is set in the formula area A9 in the numerical table 14 in step Y14.

【0029】次いでステップY15に示すように枠取り解
除の処理が行なわれる。その後、次に、定義する名前
「D」を指定すると、ステップY11〜Y15の処理が繰返
される。そして、所定の名前に対する計算式定義を終了
したときにステップY16に示すように「実行」キーを操
作する。この「実行」キーの操作により計算式定義のフ
ローを終了する。
Then, as shown in step Y15, the process of releasing the frame is performed. Then, next, when the name "D" to be defined is designated, the processes of steps Y11 to Y15 are repeated. Then, when the calculation formula definition for the predetermined name is completed, the "execute" key is operated as shown in step Y16. The operation of the "execute" key ends the flow of the calculation formula definition.

【0030】また、上記ステップY1 において「1.定
義」、「2.参照」の表示が行なわれている時、数値キ
ー「2」を操作して図8のステップY17に示すように
「2.参照」を指定した場合は、ステップY18において
数値テーブル14の内容が読出され、ステップY19にお
いて図9に示すように一覧表示が行なわれる。この一覧
表示は、図9に示すように「使用中」、「式が未定
義」、「領域が未定義」、「繰り返し数不一致」の4項
目について行なわれる。上記「使用中」は式が定義され
ている名前「C」、「D」、「式が未定義」は領域が定
義してあって式中に出てこない名前「A」、「B」、
「領域が未定義」は式に定義してあって領域がない名
前、「繰り返し数不一致」は繰返しの計算式で繰り返し
数が不一致な名前である。この「繰り返し数不一致」
は、例えば「C=A×B」において、AとBの繰り返し
数が異なるような場合である。上記ステップY19の一覧
表示によって計算式の定義状態を確認し、正しく定義さ
れていない場合はステップY20に示すように「実行」キ
ーを操作してステップY1 に戻り、再度定義操作を行な
う。また、正しく定義されている場合は、ステップY21
に示すように、「END」キーを操作し、計算式定義フ
ローを終了する。
When "1. Definition" and "2. Reference" are displayed in step Y1, the numeric key "2" is operated to select "2. If "reference" is designated, the contents of the numerical value table 14 are read in step Y18, and a list display is performed in step Y19 as shown in FIG. As shown in FIG. 9, this list display is performed for four items of "in use", "expression is undefined", "area is undefined", and "repeat count mismatch". The above "in use" is the name "C", "D" where the formula is defined, and the "undefined formula" is the name "A", "B" which is defined in the area and does not appear in the formula.
"Area is undefined" is a name that has been defined in the expression and has no area, and "Inconsistency in repeat count" is a name in which the repeat count is inconsistent in the calculation formula for repeats. This "repeat count mismatch"
In this case, for example, in “C = A × B”, the number of repetitions of A and B is different. The definition state of the calculation formula is confirmed by the list display in step Y19, and if it is not correctly defined, the "execute" key is operated as shown in step Y20 to return to step Y1 and the definition operation is performed again. If it is defined correctly, step Y21
As shown in, the "END" key is operated to end the calculation formula definition flow.

【0031】しかして、上記のようにして作成した基本
的文書は、フロッピーディスクに記憶しておく。そし
て、使用する場合には文書ファイル名を指定してフロッ
ピーディスクから文書メモリ19にロードすると共に、
必要事項を数値テーブル14にロードする。この文書ロ
ードにより図10のステップZ1 に進み、数値領域を含
んだ文書がCRT表示部4に図4(b)に示すように表
示される。この状態でステップZ2 に示すように数値先
頭領域にカーソルが表示される。
The basic document created as described above is stored in the floppy disk. When using, specify the document file name and load it from the floppy disk to the document memory 19, and
The necessary items are loaded into the numerical value table 14. By this document loading, the process proceeds to step Z1 in FIG. 10, and the document including the numerical area is displayed on the CRT display unit 4 as shown in FIG. 4 (b). In this state, the cursor is displayed in the numerical value leading area as shown in step Z2.

【0032】その後、ステップZ3 に示すようにキー操
作によって数値を入力する。この例では、まず、アンプ
に対する定価「89,000」を入力して「TAB」キ
ーを操作する。上記数値入力によりステップZ4 に進
み、入力された数値に対する領域の反転表示を消して通
常表示に切換える。次いでステップZ5 に示す計算、数
値テーブルセットの処理に進むが、この時点では計算は
行なわず、数値テーブル14に数値入力を書込む。
After that, as shown in step Z3, a numerical value is input by a key operation. In this example, first, the fixed price "89,000" for the amplifier is input and the "TAB" key is operated. When the above numerical value is input, the process proceeds to step Z4, and the reverse display of the area corresponding to the input numerical value is erased to switch to the normal display. Next, the calculation and processing of the numerical value table set shown in step Z5 are proceeded, but at this point the calculation is not performed and the numerical value input is written in the numerical value table 14.

【0033】そして、ステップZ6 において数値テーブ
ル14内のA7 エリアの入力フラグをセットする。次い
でステップZ7 に示すように次の数値領域例えば掛率の
数値領域にカーソルが移動し、その後ステップZ8 で全
数値領域へのデータ書込みを終了したかを判断する。デ
ータの書込みが終了していなければステップZ3 へ戻
り、キー入力待ちの状態となる。この状態で掛率に対す
る数値例えば「0.8」を入力し、「TAB」キーを操
作する。上記数値入力によりステップZ4 を経てステッ
プZ5 に進み、「C=A×B」の計算、つまり、「8
9,000×0.8=71,200」の計算が演算回路
15で行なわれ、その計算結果が数値テーブル14内の
数値エリアA3 に書込まれる。また、このとき「D=合
計C」の計算が行なわれ、名前Dにおける数値エリアA
3 に書込まれると共にCRT表示部4において表示され
る。
Then, in step Z6, the input flag of the A7 area in the numerical table 14 is set. Next, as shown in step Z7, the cursor is moved to the next numerical value area, for example, the multiplication numerical value area, and then it is judged in step Z8 whether or not the data writing to all the numerical value areas is completed. If the writing of data has not been completed, the process returns to step Z3 and waits for key input. In this state, a numerical value for the multiplication factor, for example, "0.8" is input and the "TAB" key is operated. By inputting the above numerical values, the process proceeds to step Z5 via step Z4 to calculate "C = A × B", that is, "8.
The calculation of “9,000 × 0.8 = 71,200” is performed by the arithmetic circuit 15, and the calculation result is written in the numerical value area A3 in the numerical value table 14. At this time, the calculation of “D = total C” is performed, and the numerical area A in the name D is calculated.
It is written in 3 and displayed on the CRT display unit 4.

【0034】以下同様にして「チューナ」、「スピー
カ」、「プレーヤ」に対する定価、掛率を入力すること
によって各商品の値段及び合計値が求められ、対応する
数値エリアA3 に書込まれる。そして、全商品に対する
定価及び掛率の入力を終了すると、その演算終了後、ス
テップZ8 からステップZ9 に進み、キー入力待ちの状
態になる。そして、この状態で「印字」キーを操作する
と、マイクロプログラム回路11の制御により、文書メ
モリ19の内容が編集回路16を介してI/Oコントロ
ーラ12に読出され、プリンタ2に送られてステップZ
10に示す印字処理が行なわれる。すなわち、このステッ
プZ10では図4(a)に示すようにCRT表示部4に表
示されている内容が文書メモリ19からプリンタ2へ送
られて印字される。
Similarly, by inputting the fixed price and the multiplication rate for the "tuner", "speaker", and "player", the price and the total value of each product are obtained and written in the corresponding numerical area A3. Then, when the input of the fixed price and the multiplication rate for all the products is completed, after the completion of the calculation, the process proceeds from step Z8 to step Z9 to wait for the key input. When the "print" key is operated in this state, the contents of the document memory 19 are read out to the I / O controller 12 via the editing circuit 16 by the control of the microprogram circuit 11 and sent to the printer 2 to be sent to the step Z.
The printing process shown in 10 is performed. That is, in step Z10, the contents displayed on the CRT display section 4 are sent from the document memory 19 to the printer 2 and printed, as shown in FIG.

【0035】[0035]

【発明の効果】本発明によれば、表示画面上の各表示領
域を変数とする計算式を設定する際、各表示領域に対し
てオペレータが所望する任意の名前を割当てておくこと
ができ、また、これとともに、この任意に割当てた名前
の一覧を表示することができ、上記計算式を設定する
際、どの名前が使えるか等をオペレータは容易に把握す
ることができる。
According to the present invention, when setting a calculation formula in which each display area on the display screen is a variable, an arbitrary name desired by an operator can be assigned to each display area. Along with this, a list of arbitrarily assigned names can be displayed, and the operator can easily grasp which name can be used when setting the above calculation formula.

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

【図1】本発明の一実施例に係る電子式表示装置の外観
斜視図。
FIG. 1 is an external perspective view of an electronic display device according to an embodiment of the present invention.

【図2】同実施例における回路構成図。FIG. 2 is a circuit configuration diagram in the embodiment.

【図3】図2における数値テーブルの記憶構成を示す
図。
FIG. 3 is a diagram showing a storage configuration of a numerical table in FIG.

【図4】見積表作成時の表示例を示す図。FIG. 4 is a diagram showing a display example at the time of creating a quotation table.

【図5】数値領域定義の動作を示すフローチャート。FIG. 5 is a flowchart showing an operation of defining a numerical area.

【図6】数値領域定義の動作を示すフローチャート。FIG. 6 is a flowchart showing an operation of defining a numerical area.

【図7】計算式定義の動作を示すフローチャート。FIG. 7 is a flowchart showing the operation of defining a calculation formula.

【図8】計算式定義の動作を示すフローチャート。FIG. 8 is a flowchart showing the operation of defining a calculation formula.

【図9】定義状態を参照する場合の表示例を示す図。FIG. 9 is a diagram showing a display example when referring to a definition state.

【図10】文書ロード時の動作を示すフローチャート。FIG. 10 is a flowchart showing an operation when loading a document.

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

1…ワードプロセッサ本体、 2…プリンタ、 3
a,3b…フロッピーディスク部、 4…CRT表示
部、 4A…コンソールエリア、 5…キー入力装
置、 6a〜6c,7…キーボード、 14…数値
テーブル、15…演算回路、 19…文書メモリ。
1 ... Word processor main body, 2 ... Printer, 3
a, 3b ... Floppy disk part, 4 ... CRT display part, 4A ... Console area, 5 ... Key input device, 6a-6c, 7 ... Keyboard, 14 ... Numerical table, 15 ... Arithmetic circuit, 19 ... Document memory.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 表示画面に表示される表示データ上にお
いて任意の表示領域を指定する領域指定手段と、 この領域指定手段で指定された各表示領域に対して、所
望する文字列からなる任意の名前を設定する名前設定手
段と、 この名前設定手段により設定された名前を記憶する記憶
手段と、 この名前記憶手段に記憶された名前を変数とする計算式
を設定する式設定手段と、 上記各表示領域に数値データを入力する入力手段と、 上記計算式に含まれる上記名前に対応する表示領域に入
力された数値データに基づいて、上記計算式に従った演
算を実行する演算手段と、 所定の操作により、上記名前記憶手段に記憶された名前
を上記表示画面上に一覧表示する表示制御手段と、 を具備したことを特徴とする電子式表示装置。
1. An area designating means for designating an arbitrary display area on display data displayed on a display screen, and an arbitrary character string consisting of a desired character string for each display area designated by the area designating means. Name setting means for setting a name, storage means for storing the name set by the name setting means, expression setting means for setting a calculation formula having the name stored in the name storage means as a variable, An input means for inputting numerical data in the display area, an arithmetic means for executing an operation in accordance with the above-mentioned calculation formula based on the numerical data inputted in the display area corresponding to the name included in the above-mentioned calculation expression; And a display control unit for displaying a list of names stored in the name storage unit on the display screen by the operation.
JP4252953A 1992-09-22 1992-09-22 Electronic display device Pending JPH05242120A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4252953A JPH05242120A (en) 1992-09-22 1992-09-22 Electronic display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4252953A JPH05242120A (en) 1992-09-22 1992-09-22 Electronic display device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2216710A Division JPH0682362B2 (en) 1990-08-17 1990-08-17 Electronic display

Publications (1)

Publication Number Publication Date
JPH05242120A true JPH05242120A (en) 1993-09-21

Family

ID=17244464

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4252953A Pending JPH05242120A (en) 1992-09-22 1992-09-22 Electronic display device

Country Status (1)

Country Link
JP (1) JPH05242120A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5866150A (en) * 1981-10-16 1983-04-20 Casio Comput Co Ltd Word processor

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5866150A (en) * 1981-10-16 1983-04-20 Casio Comput Co Ltd Word processor

Similar Documents

Publication Publication Date Title
JPH04306B2 (en)
JPS6320622A (en) Document editing device
JP2570070B2 (en) Electronic display
JP2698825B2 (en) Electronic display
JP2518188B2 (en) Numerical data calculation method
JP2518189B2 (en) Numerical data arithmetic device and method
JPH05242120A (en) Electronic display device
JPH05216904A (en) Electronic display device
JPH05242118A (en) Electronic display device
JPH05204911A (en) Electronic display device
JPH05204909A (en) Electronic display device
JPH05204912A (en) Electronic display device
JPH05216880A (en) Electronic display device
JPH05204910A (en) Electronic display device
JPH05204913A (en) Electronic display device
JPH03182963A (en) Electronic display device
JP2837497B2 (en) Output control device and output control method
JP2705690B2 (en) Display control device
JP3082940B2 (en) Character processing apparatus and method
JP3404770B2 (en) Document processing device
JP3124576B2 (en) Document processing method and apparatus
JP3032399B2 (en) Kana-Kanji conversion device
JP2672940B2 (en) Document processing device
JP2882670B2 (en) Music score processing method and apparatus
JPH0424759A (en) Document processor