JPH04306B2 - - Google Patents
Info
- Publication number
- JPH04306B2 JPH04306B2 JP56164969A JP16496981A JPH04306B2 JP H04306 B2 JPH04306 B2 JP H04306B2 JP 56164969 A JP56164969 A JP 56164969A JP 16496981 A JP16496981 A JP 16496981A JP H04306 B2 JPH04306 B2 JP H04306B2
- Authority
- JP
- Japan
- Prior art keywords
- area
- display
- key
- numerical
- calculation 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 - Lifetime
Links
Landscapes
- Calculators And Similar Devices (AREA)
- Document Processing Apparatus (AREA)
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はワードプロセツサ等のように表示画面
を有する電子式表示装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an electronic display device having a display screen, such as a word processor or the like.
ワードプロセツサ等の表示画面を有する電子式
表示装置により表示画面を見ながら文書を作成す
る場合、文書が同一で特定の数値のみ置き換えて
複数作成するものが多い。たとえば見積書等にお
いて、商品の数量、単価、金額等を記入するよう
な場合である。
When creating documents while viewing the display screen using an electronic display device such as a word processor, there are many cases in which multiple documents are created by replacing only specific numerical values. For example, this is the case when entering the quantity, unit price, amount, etc. of products in an estimate.
オフイスコンピユータでは、後から数値を入力
して計算を行なわせることができるが、その計算
のための計算式の設定はプログラムにより記述す
る必要があるためその設定が非常に面倒である。
特に、表示画面上の任意の領域に入力されたデー
タと他の任意の領域に入力されたデータとを計算
させ、この計算結果を上記領域とは行あるいは列
方向において異なる領域に表示させるためにはそ
のプログラム設定が複雑になるという問題があつ
た。
Office computers allow calculations to be performed by inputting numerical values later, but the setting of calculation formulas for the calculations must be written in a program, which is extremely troublesome.
In particular, to calculate data input into an arbitrary area on the display screen and data input into another arbitrary area, and display the calculation results in an area different from the above area in the row or column direction. The problem was that the program settings were complicated.
本発明の課題は、表示画面上の任意領域に入力
されるデータと他の任意領域に入力されるデータ
との計算の設定を、簡易に行なえるようにするこ
とである。 An object of the present invention is to enable easy setting of calculations between data input into an arbitrary area on a display screen and data input into another arbitrary area.
本発明の手段は次の通りである。 The means of the present invention are as follows.
表示画面上の行及び列方向に配置される複数の
領域のうちの任意の行・列位置の領域を指定する
指定手段と、該指定手段により指定された領域
を、上記表示画面上の対応する位置にその領域に
対して設定されたサイズの表示領域枠により識別
表示する第1の表示制御手段と、表示画面上の上
記各表示領域に数値データを入力する入力手段
と、上記指定手段により指定された領域に対して
上記表示画面上の他の行あるいは列位置の領域の
名称からなる計算式を設定する設定手段と、上記
計算式に含まれる各名称に対応する領域の表示領
域枠内に入力された数値データに基づいて演算を
実行する演算手段と、上記演算の結果を上記計算
式が設定された領域の表示領域枠内に表示する第
2の表示制御手段とを備えるものである。 a specifying means for specifying an area at an arbitrary row/column position among a plurality of areas arranged in the row and column directions on the display screen; and specifying the area specified by the specifying means in the corresponding area on the display screen. a first display control means for identifying the position by a display area frame of a size set for the area; an input means for inputting numerical data into each of the display areas on the display screen; a setting means for setting a calculation formula consisting of the names of areas in other rows or columns on the display screen for the selected area; It is provided with a calculation means for performing calculations based on input numerical data, and a second display control means for displaying the results of the calculations within the display area frame of the area in which the calculation formula is set.
本発明の手段の作用は次の通りである。 The operation of the means of the invention is as follows.
表示画面上で指定される任意の行・列位置の領
域は、その領域に対して設定されたサイズの表示
領域枠により識別表示される。そして、上記指定
された領域に対しては設定手段により、表示画面
上の他の行・列位置の領域の名称からなる計算式
を設定することができる。このような設定の後に
表示画面上の各表示領域に対してデータを順次入
力していき、上記計算式に含まれる各名称に対応
する表示領域にデータが入力されると、演算手段
は入力されたデータを計算式に代入して演算を実
行する。そして、その演算結果は上記計算式が設
定された領域の表示領域枠内に表示される。 An area at an arbitrary row/column position specified on the display screen is identified and displayed by a display area frame having a size set for that area. Then, for the specified area, a calculation formula consisting of the names of areas at other row/column positions on the display screen can be set by the setting means. After these settings, data is input sequentially into each display area on the display screen, and when data is input into the display area corresponding to each name included in the above calculation formula, the calculation means is input. Substitute the calculated data into the calculation formula and execute the calculation. Then, the calculation result is displayed within the display area frame of the area where the calculation formula is set.
従つて、表示画面上の2次元領域において任意
の行・列位置の表示領域に、他の行・列位置の領
域の名称からなる計算式を設定する際、上記表示
画面上における位置とサイズを確認した上で簡易
に設定することができる。 Therefore, when setting a calculation formula consisting of the name of an area in another row/column position in a display area at a given row/column position in a two-dimensional area on the display screen, the position and size on the display screen must be set. After checking, you can easily set it up.
以下、図面を参照して本発明の一実施例を説明
する。第1図は外観構成を示すもので、1はワー
ドプロセツサ本体、2はこのワードプロセツサ本
体1に接続されるプリンタである。上記ワードプ
ロセツサ本体1には、フロツピーデイスク
(FDD)部3a,3b,CRT表示画面4、キー入
力装置5が設けられる。このキー入力装置5は、
漢字等の日本語文字入力用キーボード6a〜6c
と共に、数値データ及び各種フアンクシヨンデー
タ入力用のキーボード7を備えている。そして、
このキーボード7には、例えばテンキー、アルフ
アベツトキー、カーソルキー、TAB(タブ)キ
ー、演算指示キー、合計キー、印字キー、円
(¥)、ドル($)等の通貨キーと共に、「数値」、
「領域」、「実行」、「YES」、「NO」等の機能を持
つキーが設けられている。
Hereinafter, one embodiment of the present invention will be described with reference to the drawings. FIG. 1 shows the external structure, in which 1 is a word processor main body, and 2 is a printer connected to this word processor main body 1. As shown in FIG. The word processor body 1 is provided with floppy disk (FDD) sections 3a, 3b, a CRT display screen 4, and a key input device 5. This key input device 5 is
Keyboards 6a to 6c for inputting Japanese characters such as kanji
It also includes a keyboard 7 for inputting numerical data and various functional data. and,
This keyboard 7 includes, for example, a numeric keypad, alphanumeric key, cursor key, TAB key, calculation instruction key, total key, print key, currency keys such as yen (¥), dollar ($), and "numeric" keys. ,
Keys with functions such as "area", "execution", "YES", and "NO" are provided.
次に第2図により、上記ワードプロセツサ本体
1内に設けられる電子回路について説明する。第
2図において11はマイクロプログラム制御回路
で、例えばROM(リード・ライト・メモリ)に
よつて構成されるもので、各種制御用マイクロプ
ログラムを記憶している。そして、上記マイクロ
プログラム制御回路11には、キー入力装置5、
I/Oコントローラ12、データ記憶用RAM
(ランダム・アクセス・メモリ)13、詳細を後
述する数値テーブル14、演算回路15、編集回
路16、カーソルコントローラ17、メツセージ
RAM18等が接続される。そして、上記I/O
コントローラ12は、マイクロプログラム制御回
路11からの指令に従つてプリンタ2及びフロツ
ピーデイスクとRAM13との間のデータ転送制
御を行なう。また、このRAM13にはキー入力
装置5からのキー入力データが与えられる。さら
に、RAM13はマイクロプログラム制御回路1
1の制御により数値テーブル14、演算回路15
との間でデータの書込み、読出しが行なわれる。
また、上記編集回路16は、文書メモリ19に対
する編集を行なうもので、この文書メモリ19に
は数値テーブル14からデータが書込まれる。そ
して、上記文書メモリ19から読出されるデータ
は、表示コントローラ20へ送られる。さらにこ
の表示コントローラ20には、カーソルコントロ
ーラ17からカーソルデータが入力されると共
に、メツセージRAM18から読出されるメツセ
ージが入力される。上記表示コントローラ20
は、上記入力データに従つてCRT表示部4にキ
ヤラクタジエネレータ(図示せず)等を介して表
示用データを出力する。 Next, referring to FIG. 2, the electronic circuit provided within the word processor main body 1 will be explained. In FIG. 2, reference numeral 11 denotes a microprogram control circuit, which is composed of, for example, a ROM (read/write memory), and stores various control microprograms. The microprogram control circuit 11 includes a key input device 5,
I/O controller 12, RAM for data storage
(Random access memory) 13, numeric table 14, details of which will be described later, arithmetic circuit 15, editing circuit 16, cursor controller 17, message
RAM18 etc. are connected. And the above I/O
The controller 12 controls data transfer between the printer 2, floppy disk, and RAM 13 according to instructions from the microprogram control circuit 11. Further, key input data from the key input device 5 is given to this RAM 13. Furthermore, the RAM 13 is the microprogram control circuit 1
1 controls the numerical table 14 and the arithmetic circuit 15.
Data is written and read between.
The editing circuit 16 also edits the document memory 19, into which data is written from the numerical value table 14. The data read from the document memory 19 is then sent to the display controller 20. Further, the display controller 20 receives cursor data from the cursor controller 17 as well as messages read from the message RAM 18. The above display controller 20
outputs display data to the CRT display unit 4 via a character generator (not shown) or the like in accordance with the input data.
そして、上記数値テーブル14は、第3図に示
すようにA1〜A9のエリアからなり、A1エリアに
は名前、A2エリアには通貨記号、A3エリアには
数値、A4エリアには数値表示領域の開始アドレ
ス「from」、A5エリアには上記数値表示領域の終
了アドレス「to」、A6エリアには枠取りフラグ、
A7エリアには繰り返し情報、A8エリアにはどこ
まで計算したかを示す入力フラグ、A9エリアに
は計算式を記憶するようになつている。この場
合、A6エリアに上記枠取りフラグは、名前の定
義前に書込まれているが、定義すると消去され
る。また、A7エリアの繰り返し情報は、定義し
た名前を何行おきで何回繰り返すかを示す情報で
ある。 The numerical value table 14 consists of areas A1 to A9 , as shown in FIG. 3, with names in area A1 , currency symbols in area A2 , numerical values in area A3 , and area A4 . is the start address of the numerical display area "from", A5 area is the end address of the numerical display area "to", A6 area is the frame flag,
The A7 area stores repetition information, the A8 area stores an input flag indicating how far the calculation has been made, and the A9 area stores the calculation formula. In this case, the above-mentioned framing flag is written in the A6 area before the name is defined, but is erased after the name is defined. Further, the repetition information in the A7 area is information indicating how many times and in how many lines the defined name is to be repeated.
次に、上記実施例の動作を説明する。今例えば
第4図aに示す見積表を作成するものとすれば、
まず、第4図bに示すように漢字、カナ等による
日本語文については最終から順次作成していく
が、金額等の数値データは入力せず、日本語文の
作成途中あるいは日本語文作成終了後にその領域
等の指定処理を行なう。上記文書の作成に際して
キー入力装置5からデータを入力すると、まず、
RAM13に記憶され、その後、マイクロプログ
ラム制御回路11より編集回路16を経て文書メ
モリ19に書込まれる。そして、例えば日本語文
の作成終了後において、数値領域の定義を行な
う。第4図aの場合には、「アンプ」…「合計」
までの文書を作成した後、「アンプ」の定価
「¥89000」に対する数値領域定義を行なう。この
数値領域定義は、キーボード7に設けられている
「数値」キーを操作することにより、第5図に示
すフローチヤートに従つて処理される。まず、上
記したように「数値」キーを操作し、その後、カ
ーソルを定義したい領域の先頭へ移動し、次いで
第5図のステツプX1に示すように「領域」キー
を操作する。この「領域」キーが操作されるとス
テツプX2に進み、数値テーブル14のFROMエ
リアA4に上記カーソルによつて示されているア
ドレスをセツトする。次いでステツプX3に示す
ように、カーソルを上記定義したい領域の最後へ
移動し、その後ステツプX4に示すように「領域」
キーを操作する。この「領域」キーが操作される
ことによつて次のステツプX5へ進み、数値テー
ブル14のTOエリアA5に上記カーソルによつて
示されているアドレスをセツトする。その後ステ
ツプX6に示すように数値テーブル14の枠取り
フラグエリアA6にフラグデータを書込み、上記
指定領域を反転すると共に枠取り表示する。その
後必要に応じてステツプX7に示すように通貨記
号、つまりこの場合には円記号¥を入力する。こ
の円記号を入力すると、数値テーブル14の通貨
記号エリアA2に通貨記号が書込まれ、ステツプ
X9において上記指定領域に通貨記号¥が表示さ
れる。また、ステツプX10においては、アルフア
ベツトキーを操作して名前例えば「A」を入力す
る。このキー操作によりステツプX11に進み、数
値テーブル14の名前エリアA1に名前「A」を
セツトし、ステツプX12において第4図bに示す
ように指定領域に円記号「¥」と共に名前「A」
を表示する。次いでステツプX13に示すように
「実行」キーを操作する。このキー操作によりス
テツプX14に進み、メツセージRAM18に記憶
されている「くり返しますか?」のメツセージを
読出し、CRT表示部4のコンソールエリア4A
に表示する。この時、繰り返しを行なわなければ
ステツプX15に示すように「NO」キーを操作す
る。この「NO」キーを操作した場合は、以上で
数値領域の指定処理を終了する。また、繰り返し
を行なう場合はステツプX16に示すように
「YES」キーを操作する。この「YES」キーの操
作を行なつた場合は、ステツプX17に進み、メツ
セージRAM18から「くり返し数を入力して下
さい」のメツセージを読出してCRT表示部4に
表示する。上記メツセージに従つてオペレータは
ステツプX18に示すように数値n例えば「4」を
入力し、数他テーブル14の繰り返し情報エリア
A7にセツトする。上記数値nを入力するとステ
ツプX19に進み、「くり返し間隔を入力して下さ
い」のメツセージを表示する。この表示によりス
テツプX20に示すように繰り返し間隔1を入力
し、数値テーブル14の繰り返し情報エリアA7
にセツトする。第4図の場合は1行おきに文書デ
ータを表示しているので、1の値は「1」であ
る。そして、上記繰り返し間隔1を入力すると、
ステツプX21に進み、繰り返しエリアのFROM−
TOのアドレス計算が演算回路15で行なわれ
る。この時のアドレス計算は、第4図における品
名「チユーナ」に対する数値領域を求めている。
そして、ステツプX21で求めたデータは、ステツ
プX22において、数値テーブル14の名前Aの次
の行におけるFROMエリアA4、TOエリアA5に
セツトする。次いでステツプX23に進み、上記指
定エリアに対する反転及び枠取り表示を行なう。
その後、ステツプX24に進み、上記FROM−TO
エリアへのデータセツトをステツプX18で設定し
た値nの回数終了したか否かを判定する。上記判
定の結果がNOであればステツプX21に戻つて同
様の処理を繰り返す。そして、n回の処理を終了
するとステツプX24の判定結果がYESとなつて数
値領域の設定処理を終了する。なお、上記の処理
において、X1,X3,X4,X7,X10,X13,X15,
X16,X18,X20等のキー入力ステツプでは、その
キー操作が行なわれるまで、マイクロプログラム
制御回路11からキー入力装置5へキー待ち信号
が送られている。 Next, the operation of the above embodiment will be explained. For example, if we are to create the estimate table shown in Figure 4a,
First, as shown in Figure 4b, Japanese sentences in kanji, kana, etc. are created sequentially starting from the last one, but numerical data such as amounts are not input, and the Japanese sentences are created either during or after the Japanese sentence is created. Performs area specification processing. When data is input from the key input device 5 when creating the above document, first,
The data is stored in the RAM 13 and then written into the document memory 19 from the microprogram control circuit 11 via the editing circuit 16. Then, for example, after completing the creation of the Japanese sentence, the numerical region is defined. In the case of Figure 4 a, "Amplifier"..."Total"
After creating the documents up to this point, define the numerical range for the list price of "Amplifier": "¥89,000". This numerical value area definition is processed according to the flowchart shown in FIG. 5 by operating the "numeric value" key provided on the keyboard 7. First, operate the ``numeric'' key as described above, then move the cursor to the beginning of the area to be defined, and then operate the ``area'' key as shown in step X1 of FIG. When this "area" key is operated, the process advances to step X2 , and the address indicated by the cursor is set in the FROM area A4 of the numerical table 14. Next, move the cursor to the end of the area you want to define above, as shown in step
Operate the keys. By operating this "area" key, the process advances to the next step X5 , and the address indicated by the cursor is set in the TO area A5 of the numerical table 14. Thereafter, as shown in step X6 , flag data is written in the frame flag area A6 of the numerical value table 14, and the designated area is inverted and displayed in a frame. Then, if necessary, enter the currency symbol, in this case the yen symbol ¥, as shown in step X 7 . When you enter this yen symbol, the currency symbol is written in the currency symbol area A2 of the numerical value table 14, and the step
In X 9 , the currency symbol ¥ is displayed in the specified area above. In step X10 , a name such as "A" is input by operating the alphabet keys. With this key operation , the process advances to step A”
Display. Next, operate the "Execute" key as shown in step X13 . This key operation advances to step
to be displayed. At this time, if you do not want to repeat the process, press the "NO" key as shown in step X15 . If this "NO" key is operated, the process of specifying the numerical value area is completed. If you wish to repeat the process, press the "YES" key as shown in step X16 . If the "YES" key has been operated, the process advances to step In accordance with the above message, the operator enters a numerical value n, for example "4", as shown in step
A Set to 7 . When the above numerical value n is input, the process advances to step X19 , and the message ``Please input the repeat interval'' is displayed. From this display , enter the repeat interval 1 as shown in step
Set to . In the case of FIG. 4, the document data is displayed every other line, so the value of 1 is "1". Then, if you input the above repetition interval 1,
Proceed to step X 21 and repeat area FROM−
TO address calculation is performed by the arithmetic circuit 15. In the address calculation at this time, the numerical value area for the product name "Chyuna" in FIG. 4 is determined.
Then, in step X22 , the data obtained in step X21 is set in FROM area A4 and TO area A5 in the row next to name A in the numerical value table 14. Next, the process proceeds to step X23 , where the designated area is inverted and framed.
Then proceed to step X 24 and select FROM-TO above.
It is determined whether data has been set to the area the number of times n set in step X18 . If the result of the above determination is NO, the process returns to step X21 and the same process is repeated. When the nth process is completed, the determination result in step X24 becomes YES, and the numerical region setting process ends. Note that in the above process, X 1 , X 3 , X 4 , X 7 , X 10 , X 13 , X 15 ,
In key input steps such as X 16 , X 18 and X 20 , a key wait signal is sent from the microprogram control circuit 11 to the key input device 5 until the key is operated.
上記のようにして定価に対する数値領域定義を
行なつた後、掛率、値段、合計等に対する数値領
域定義を同様にして行なう。 After defining the numerical range for the list price as described above, the numerical range for the multiplication rate, price, total, etc. is similarly defined.
次に値段、合計等を求める計算式を定義する。
この計算式の定義はキーボード7上の「計算式」
キーを操作することにより第6図に示すフローに
従つて行なわれる。まず、上記「計算式」キーの
操作を行なうと、第6図のステツプY1に示すよ
うにマイクロプログラム制御回路11の制御によ
りCRT表示部4のコンソールエリア4Aに
「1・定義」、「2・参照」のメツセージが表示さ
れる。計算式定義の場合には、ステツプY2に示
すように数値キー「1」を操作し、「1・定義」
を指定する。上記の定義指定によりステツプY3
に示すようにCRT表示部4のコンソールエリア
4Aに「1・連続」、「2・個別」の表示が行なわ
れる。連続で行なう場合には、数値キー「1」を
操作してステツプY4に示すように「1・連続」
を指定する。上記の連続指定によりステツプY5
に示すようにコンソールエリア4Aに最初の名
前、つまり、数値テーブル14に登録した最初の
名前「A」が表示される。この名前「A」につい
ては式を定義する必要がないので、「実行」キー
を操作してパスする。この実行キーの操作により
次の名前「B」が数値テーブル14から読出され
てコンソールエリア4Aに表示される。この
「B」についても式を定義する必要がないので、
「実行」キーを操作してパスする。この実行キー
の操作により次の名前「C」が数値テーブル14
から読出され、コンソールエリア4Aに表示され
る。この名前「C」は値段に対するもので式を定
義する必要があるので、ステツプY6において
「C=A×B」つまり、「定価」と「掛率」との乗
算式をキー操作により定義する。次いでステツプ
Y7に進み、数値テーブル14の計算式エリアA9
に上記の計算式を書込む。その後、数値テーブル
14内のエリアA6における枠取りフラグをリセ
ツトし、ステツプY8に示すようにCRT表示部4
上の名前Cに対する枠取りを構成する。そして、
ステツプY9において最後の名前まで進んだか否
かを判断する。最後の名前まで終つていない場合
には、ステツプY5へ戻つて同様の処理を繰り返
す。第4図の例では名前「D」に対する計算式、
つまり各Cの値を合計する計算式をキー操作によ
つて定義し、数値テーブル14の計算式エリア
A9に書込む。そして、全部の名前に対する式の
定義を終了すると、ステツプY9の判断結果が
YESとなつて計算式定義フローを終了する。 Next, define calculation formulas for calculating prices, totals, etc.
The definition of this calculation formula is "Calculation formula" on the keyboard 7.
By operating the keys, the process is performed according to the flow shown in FIG. First, when the above -mentioned "calculation formula" key is operated, "1. Definition" and "2.・The message "Reference" is displayed. In the case of formula definition, operate the numeric key "1" as shown in step Y 2 , and select "1.Definition".
Specify. Step Y 3 according to the above definition specification
As shown in the figure, "1.Continuous" and "2.Individual" are displayed in the console area 4A of the CRT display section 4. If you want to do it continuously, press the numeric key "1" and select "1/Continuous" as shown in step Y 4 .
Specify. Step Y 5 due to the above continuous specification
The first name, that is, the first name "A" registered in the numerical value table 14 is displayed in the console area 4A as shown in FIG. There is no need to define an expression for this name "A", so press the "Execute" key to pass. By operating this execution key, the next name "B" is read from the numerical table 14 and displayed on the console area 4A. There is no need to define an expression for this "B", so
Operate the "Run" key to pass. By operating this execution key, the next name "C" is entered in the numerical table 14.
and displayed on the console area 4A. This name "C" refers to the price and it is necessary to define a formula, so in step Y 6 , define "C = A × B", that is, the multiplication formula of "list price" and "multiplying rate" by key operation. . Then step
Proceed to Y 7 and go to calculation formula area A 9 of numerical table 14
Write the above calculation formula into . Thereafter, the frame flag in area A 6 in the numerical table 14 is reset, and the CRT display section 4 is reset as shown in step Y 8 .
Configure the frame for name C above. and,
At step Y9 , it is determined whether the process has progressed to the last name. If the last name has not been completed, return to step Y5 and repeat the same process. In the example in Figure 4, the calculation formula for the name "D",
In other words, define the calculation formula for summing the values of each C by key operation, and
Write in A9 . Then, when you finish defining the expressions for all the names, the judgment result of step Y 9 is
The result is YES and the calculation formula definition flow ends.
また一方、上記ステツプY3において「1・連
続」、「2・個別」の表示に対し、数値キー「2」
を操作してステツプY10に示すように「2・個
別」を指定した場合は、ステツプY11に示すよう
にキー操作によつて定義する名前「C」を入力す
る。この名前「C」の指定によつてステツプY12
に示すように数値テーブル14内のサーチが行な
われる。続いてステツプY13に示すように「C」
に対する式を定義すると、ステツプY14において
数値テーブル14内の計算式エリアA9に計算式
がセツトされる。次いでステツプY15に示すよう
に枠取り解除の処理が行なわれる。その後、次に
定義する名前「D」を指定すると、ステツプY11
〜Y15の処理が繰り返される。そして、所定の名
前に対する計算式定義を終了したときにステツプ
Y16に示すように「実行」キーを操作する。この
「実行」キーの操作により計算式定義のフローを
終了する。 On the other hand, in step Y 3 above, in response to the display of "1/Continuous" and "2/Individual", the numerical key "2"
If you specify "2.Individual" as shown in step Y10 by operating the key, enter the name "C" to be defined by operating the keys as shown in step Y11 . By specifying this name "C", step Y 12
A search within the numerical value table 14 is performed as shown in FIG. Then press "C" as shown in step Y 13 .
Once a formula is defined, the formula is set in the formula area A9 in the numerical value table 14 in step Y14. Next, as shown in step Y15 , frame removal processing is performed. After that, if you specify the name "D" to be defined next, step Y 11
~Y 15 processing is repeated. Then, when you finish defining the formula for a given name,
Y Operate the "Execute" key as shown in 16 . Operation of this "execute" key ends the calculation formula definition flow.
また、上記ステツプY1において「1・定義」、
「2・参照」の表示が行なわれている時、数値キ
ー「2」を操作してステツプY17に示すように
「2・参照」を指定した場合は、ステツプY18に
おいて数値テーブル14の内容が読出され、ステ
ツプY19において第7図に示すように一覧表示が
行なわれる。この一覧表示は、第7図に示すよう
に「使用中」、「式が未定義」、「領域が未定義」、
「繰り返し数不一致」4項目について行なわれる。
上記「使用中」は式が定義されている名前「C」、
「D」、「式が未定義」は領域が定義してあつて式
中に出てこない名前「A」、「B」、「領域が未定
義」は式に定義してあつて領域がない名前、「繰
り返し数不一致」は繰り返しの計算式で繰り返し
数が不一致な名前である。この「繰り返し数不一
致」は、例えば「C=A×B」において、AとB
の繰り返し数が異なるような場合である。上記ス
テツプY19の一覧表示によつて計算式の定義状態
を確認し、正しく定義されていない場合はステツ
プY20に示すように「実行」キーを操作してステ
ツプY1に戻り、再度定義操作を行なう。また、
正しく定義されている場合は、ステツプY21に示
すように「END」キーを操作し、計算式定義フ
ローを終了する。 In addition, in step Y 1 above, "1. Definition",
When "2.Reference" is displayed, if you operate the numeric key "2" to specify "2.Reference" as shown in step Y17 , the contents of the numerical table 14 will be displayed in step Y18 . are read out, and a list is displayed in step Y19 as shown in FIG. This list display includes "In use", "Formula is undefined", "Area is undefined", as shown in Figure 7.
This is done for 4 items of ``mismatch in number of repetitions''.
"In use" above is the name "C" where the expression is defined,
"D", "Expression is undefined" means that the area is defined and does not appear in the expression "A", "B", "Area is undefined" means that the area is defined but there is no area The name "repetition number mismatch" is a name for which the number of repetitions does not match in the repetition calculation formula. This "repetition number mismatch" is caused by, for example, "C=A×B", where A and B
This is a case where the number of repetitions is different. Check the definition status of the calculation formula by displaying the list in step Y 19 above, and if it is not defined correctly, press the "Execute" key as shown in step Y 20 to return to step Y 1 and repeat the definition operation. Do this. Also,
If the definition is correct, press the "END" key as shown in step Y21 to end the calculation formula definition flow.
しかして、上記のようにして作成した基本的文
書は、フロツピーデイスクに記憶しておく。そし
て、使用する場合には文書フアイル名を指定して
フロツピーデイスクから文書メモリ19にロード
すると共に、必要事項を数値テーブル14にロー
ドする。この文書ロードにより第8図のステツプ
Z1に進み、数値領域を含んだ文書がCRT表示部
4に第7図bに示すように表示される。この状態
でステツプZ2に示すように数値先頭領域にカーソ
ルが表示される。その後ステツプZ3に示すように
キー操作によつて数値を入力する。この例では、
まず、アンプに対する定価「89000」を入力して
「TAB」キーを操作する。上記数値入力によりス
テツプZ4に進み、入力された数値に対する領域の
反転表示を消して通常表示に切換える。次いでス
テツプZ5に示す計算、数値テーブルセツトの処理
に進むが、この時点では計算は行なわず、数値テ
ーブル14に数値入力を書込む。そして、ステツ
プZ6において数値テーブル14内のA7エリアの
入力フラグをセツトする。次いでステツプZ7に示
すように次の数値領域例えば掛率の数値領域にカ
ーソルが移動し、その後ステツプZ8で全数値領域
へのデータ書込みを終了したかを判断する。デー
タの書込みが終了していなければステツプZ3へ戻
り、キー入力待ちの状態となる。この状態で掛率
に対する数値例えば「0.8」を入力し、「TAB」
キーを操作する。上記数値入力によりステツプZ4
を経てステツプZ5に進み、「C=A×B」の計算、
つまり、「89000×0.8=71200」の計算が演算回路
15で行なわれ、その計算結果が数値テーブル1
4内の数値エリアA3に書込まれる。また、この
とき「D=合計C」の計算が行なわれ、名前Dに
おける数値エリアA3に書込まれると共にCRT表
示部4において表示される。以下同様にした「チ
ユーナ」、「スピーカ」、「プレーヤ」に対する定
価、掛率を入力することによつて各商品の値段及
び合計値が求められ、対応する数値エリアA3に
書込まれる。そして、全商品に対する定価及び掛
率の入力を終了すると、その演算終了後、ステツ
プZ8からステツプZ9に進み、キー入力待ちの状態
になる。そして、この状態で「印字」キーを操作
すると、マイクロプログラム回路11の制御によ
り、文書メモリ19の内容が編集回路16を介し
てI/Oコントローラ12に読出され、プリンタ
2に送られてステツプZ10に示す印字処理が行な
われる。すなわち、このステツプZ10は第4図a
に示すようにCRT表示部4に表示されている内
容が文書メモリ19からプリンタ2へ送られて印
字される。 The basic document created as described above is stored on the floppy disk. When used, the document file name is designated and loaded from the floppy disk into the document memory 19, and necessary items are loaded into the numerical table 14. By loading this document, the steps shown in Figure 8 will be executed.
Proceeding to Z1 , the document including the numerical area is displayed on the CRT display unit 4 as shown in FIG. 7b. In this state, a cursor is displayed in the first numerical value area as shown in step Z2 . Then, as shown in step Z3 , numerical values are input by key operation. In this example,
First, enter the list price of the amplifier, ``89,000,'' and press the ``TAB'' key. By inputting the above numerical value, the process advances to step Z4 , where the highlighted display of the area corresponding to the input numerical value is erased and the display is switched to normal display. Next, the process proceeds to the calculation and numerical table set processing shown in step Z5 , but no calculation is performed at this point, and numerical inputs are written in the numerical table 14. Then, in step Z6 , the input flag of area A7 in the numerical value table 14 is set. Next, as shown in step Z7 , the cursor is moved to the next numerical value area, for example, the multiplication rate numerical value area, and then in step Z8 it is determined whether data writing to all numerical value areas has been completed. If the writing of data has not been completed, the process returns to step Z3 and waits for a key input. In this state, enter a value for the multiplication rate, for example "0.8", and press "TAB"
Operate the keys. Step Z 4 by inputting the above numerical value
Proceed to step Z 5 and calculate "C=A×B".
In other words, the calculation of "89000 x 0.8 = 71200" is performed in the arithmetic circuit 15, and the calculation result is displayed in the numerical table 1.
It is written to the numerical value area A3 in 4. Further, at this time, the calculation "D=total C" is performed, and is written in the numerical area A3 for the name D and displayed on the CRT display section 4. Thereafter, by inputting the list prices and multiplication rates for "Tyuna", "Speaker", and "Player" in the same manner, the price and total value of each product are determined and written in the corresponding numerical area A3 . After inputting list prices and multiplication rates for all products, the process proceeds from step Z8 to step Z9 after completing the calculation, and enters a state of waiting for key input. Then, 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 under the control of the microprogram circuit 11, and sent to the printer 2, where it is sent to step Z. The printing process shown in 10 is performed. That is, this step Z10 is as shown in Fig. 4a.
As shown in FIG. 2, the content displayed on the CRT display section 4 is sent from the document memory 19 to the printer 2 and printed.
本発明によれば、表示画面上の2次元領域にお
いて任意の行・列位置の表示領域に対して他の
行・列位置の領域の名称からなる計算式を設定で
き、しかも上記設定の際は、上記指定表示領域の
表示画面上における位置とサイズを確認した上で
簡易に設定することができる。
According to the present invention, a calculation formula consisting of the names of areas in other rows and columns can be set for a display area in an arbitrary row and column position in a two-dimensional area on a display screen, and furthermore, when making the above settings, , the specified display area can be easily set after confirming the position and size of the specified display area on the display screen.
図面は本発明の一実施例を示すもので、第1図
は外観斜視図、第2図は回路構成図、第3図は第
2図における数値テーブルの記憶構成を示す図、
第4図a,bは見積表作成時の表示例を示す図、
第5図は数値領域定義の動作を示すフローチヤー
ト、第6図は計算式定義の動作を示すフローチヤ
ート、第7図は定義状態を参照する場合の表示例
を示す図、第8図は文書ロード時の動作を示すフ
ローチヤートである。
1……ワードプロセツサ本体、2……プリン
タ、3a,3b……フロツピーデイスク部、4…
…CRT表示部、4A……コンソールエリア、5
……キー入力装置、6a〜6c,7……キーボー
ド、14……数値テーブル、15……演算回路、
19……文書メモリ。
The drawings show one embodiment of the present invention; FIG. 1 is an external perspective view, FIG. 2 is a circuit configuration diagram, and FIG. 3 is a diagram showing the storage configuration of the numerical table in FIG. 2.
Figures 4 a and b are diagrams showing examples of display when creating a quotation sheet;
Figure 5 is a flowchart showing the operation of numerical region definition, Figure 6 is a flowchart showing the operation of calculating formula definition, Figure 7 is a diagram showing an example of display when referring to the definition state, and Figure 8 is a document This is a flowchart showing the operation during loading. 1... Word processor body, 2... Printer, 3a, 3b... Floppy disk unit, 4...
...CRT display section, 4A...Console area, 5
... Key input device, 6a to 6c, 7 ... Keyboard, 14 ... Numerical table, 15 ... Arithmetic circuit,
19...Document memory.
Claims (1)
の領域のうちの任意の行・列位置の領域を指定す
る指定手段と、 該指定手段により指定された領域を、上記表示
画面上の対応する位置にその領域に対して設定さ
れたサイズの表示領域枠により識別表示する第1
の表示制御手段と、 表示画面上の上記各表示領域に数値データを入
力する入力手段と、 上記指定手段により指定された領域に対して上
記表示画面上の他の行あるいは列位置の領域の名
称からなる計算式を設定する設定手段と、 上記計算式に含まれる各名称に対応する領域の
表示領域枠内に入力された数値データに基づいて
演算を実行する演算手段と、 上記演算の結果を上記計算式が設定された領域
の表示領域枠内に表示する第2の表示制御手段
と、 を具備したことを特徴とする電子式表示装置。[Scope of Claims] 1. A specifying means for specifying an area at an arbitrary row/column position among a plurality of areas arranged in row and column directions on a display screen; and an area specified by the specifying means, The first screen is identified and displayed at the corresponding position on the display screen by a display area frame of the size set for that area.
display control means for inputting numerical data into each of the above-mentioned display areas on the display screen; and names of areas in other rows or columns on the display screen for the area specified by the above-mentioned specifying means; a setting means for setting a calculation formula consisting of; a calculation means for performing calculations based on the numerical data input within the display area frame of the area corresponding to each name included in the calculation formula; An electronic display device comprising: second display control means for displaying within a display area frame of an area in which the calculation formula is set.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56164969A JPS5866150A (en) | 1981-10-16 | 1981-10-16 | Word processor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56164969A JPS5866150A (en) | 1981-10-16 | 1981-10-16 | Word processor |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2216710A Division JPH0682362B2 (en) | 1990-08-17 | 1990-08-17 | Electronic display |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5866150A JPS5866150A (en) | 1983-04-20 |
| JPH04306B2 true JPH04306B2 (en) | 1992-01-07 |
Family
ID=15803310
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP56164969A Granted JPS5866150A (en) | 1981-10-16 | 1981-10-16 | Word processor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5866150A (en) |
Families Citing this family (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS58129639A (en) * | 1982-01-29 | 1983-08-02 | Canon Inc | character processing device |
| JPS62189552A (en) * | 1986-02-14 | 1987-08-19 | Sord Comput Corp | Simple language data search and editing processing device |
| JPS62189555A (en) * | 1986-02-14 | 1987-08-19 | Sord Comput Corp | Simple language data update processing device |
| JPH0743704B2 (en) * | 1986-07-30 | 1995-05-15 | 日本電気株式会社 | Data generation method in data processing system |
| JPH0731660B2 (en) * | 1986-10-21 | 1995-04-10 | シャープ株式会社 | Electronic desk calculator |
| JPS6425238A (en) * | 1987-07-21 | 1989-01-27 | Nec Corp | System for retrieving data base |
| JPH01306955A (en) * | 1988-06-03 | 1989-12-11 | Sharp Corp | Document preparing device |
| JP2844460B2 (en) * | 1988-07-15 | 1999-01-06 | カシオ計算機株式会社 | Data processing device |
| JPH069047B2 (en) * | 1990-01-29 | 1994-02-02 | 三洋電機株式会社 | Word processor |
| JP2570070B2 (en) * | 1992-09-22 | 1997-01-08 | カシオ計算機株式会社 | Electronic display |
| JPH05242120A (en) * | 1992-09-22 | 1993-09-21 | Casio Comput Co Ltd | Electronic display device |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5634877B2 (en) * | 1973-07-10 | 1981-08-13 |
-
1981
- 1981-10-16 JP JP56164969A patent/JPS5866150A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5866150A (en) | 1983-04-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH04306B2 (en) | ||
| JP2518188B2 (en) | Numerical data calculation method | |
| JP2518189B2 (en) | Numerical data arithmetic device and method | |
| JP2698825B2 (en) | Electronic display | |
| JP2570070B2 (en) | Electronic display | |
| JPH05242118A (en) | Electronic display device | |
| JPH05204910A (en) | Electronic display | |
| JPH05204913A (en) | Electronic display device | |
| JPH05242120A (en) | Electronic display device | |
| JPH05204909A (en) | Electronic display device | |
| JPH05216880A (en) | Electronic display | |
| JPH05216904A (en) | Electronic display device | |
| JPH05204912A (en) | Electronic display device | |
| JPH05204911A (en) | Electronic display device | |
| JPH03182963A (en) | Electronic display device | |
| KR100374413B1 (en) | The method of using manuscript on the computer | |
| JP2837497B2 (en) | Output control device and output control method | |
| JP2705690B2 (en) | Display control device | |
| JP3404770B2 (en) | Document processing device | |
| EP0786729B1 (en) | Portable calculator | |
| JPS62166390A (en) | Data input auxiliary method for spread sheet | |
| JPS63146157A (en) | Document processor | |
| JP2008257473A (en) | Data processing device | |
| JPH0651936U (en) | Document editing device | |
| JPS63291089A (en) | Character processor |