JPH0359764A - Table data processor - Google Patents

Table data processor

Info

Publication number
JPH0359764A
JPH0359764A JP1195652A JP19565289A JPH0359764A JP H0359764 A JPH0359764 A JP H0359764A JP 1195652 A JP1195652 A JP 1195652A JP 19565289 A JP19565289 A JP 19565289A JP H0359764 A JPH0359764 A JP H0359764A
Authority
JP
Japan
Prior art keywords
data
item
input
address
page
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
JP1195652A
Other languages
Japanese (ja)
Inventor
Takashi Sato
隆 佐藤
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 JP1195652A priority Critical patent/JPH0359764A/en
Priority to EP19900114367 priority patent/EP0410452A3/en
Publication of JPH0359764A publication Critical patent/JPH0359764A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To simplify the setting of a numerical expression by inputting an operation result to a column corresponding to each item in which no numerical expression is set up, detecting the item setting up a numerical expression, executing operation based upon the previously set expression, and inputting the operation result to the corresponding column. CONSTITUTION:A keying part 12, an input buffer 13, an input/edition data storing part 14, a table data storage part 15, an address control part 16, an attribute data decision part 17, an operation/comparison part 18, a display data storage part 19, and a display part 20 are connected to a control part 11. When numerical expressions corresponding to respective items set up in a table are set up and data are inputted to respective items in which no numerical expressions are set up, the items setting up the expressions are detected, operation based upon the previously set expressions is executed and the operated results of the detected items are inputted. Consequently, it is unnecessary to set up numerical expressions in respective tabulation columns and the setting of numerical expression can be extremely simplified.

Description

【発明の詳細な説明】 [産業上の利用分野コ 本発明は、入力された表データを予め設定された数式に
従って演算処理する表データ処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Field of Application] The present invention relates to a tabular data processing device that performs arithmetic processing on input tabular data according to preset mathematical formulas.

〔従来の技術〕[Conventional technology]

従来、多機能の小型電子式31゛算機として、引見機能
の他に電話番号、メモ、スケジュール″、7を記憶する
機能を備えた所謂電子手帳が大川化されている。また、
最近の電子手帳や口木語ワードプロセッサでは、表計算
機能を備えたものがある。この表計算機能を用いて表計
算を行なう場合、各累計欄(セル)には予め集計内容を
指示する数式を設定しておき、表データを入力した後に
集計指示を与えることにより、上記予め設定された数式
に基づいて入力データに対する演算が行なわれ、その演
算結果が各集計欄に書込まれるようになっている。
Conventionally, so-called electronic notebooks have been widely used as multi-functional small electronic 31-inch calculators, which have functions to memorize telephone numbers, memos, schedules, etc. in addition to reference functions.
Some of the recent electronic notebooks and word processors are equipped with a spreadsheet function. When performing spreadsheet calculations using this spreadsheet function, you can set a formula that instructs the aggregation contents in advance in each cumulative total column (cell), and then give the aggregation instructions after inputting the table data. Calculations are performed on the input data based on the calculated formulas, and the results of the calculations are written in each tally column.

[発明が解決しようとする課題] 上記のように従来では、表計算を行なう場合、表中の全
てのデータ集計欄に集計内容を指示する数式を設定しな
ければならず、その設定操作が非常に面倒であった。
[Problem to be solved by the invention] As mentioned above, conventionally, when performing spreadsheet calculations, it is necessary to set formulas that instruct the aggregation contents in all data aggregation columns in the table, and the setting operation is extremely difficult. It was a hassle.

本発明は上記実情に鑑みて成されたもので、集計内容を
指示する数式の設定が極めて容易な表データ処理装置を
提供することを目的とする。
The present invention has been made in view of the above-mentioned circumstances, and an object of the present invention is to provide a tabular data processing device in which it is extremely easy to set a mathematical formula for instructing the contents of aggregation.

[課題を解決するための手段及び作用]本発明は、表中
に設定された項目に対して数式を設定し、数式設定がな
されていない各項目に対してデータを入力すると、その
後、数式設定がなされた項目を検出して予め設定されて
いる数式に基づく演算を行ない、上記検知された項目に
対して上記演算結果を入力するようにしたものである。
[Means and effects for solving the problem] The present invention sets formulas for items set in a table, and when data is input for each item for which no formula is set, the formula is set. The system detects the items for which the above has been performed, performs calculations based on preset mathematical formulas, and inputs the results of the calculations for the detected items.

上記のように項目に対して数式設定を行なうことにより
、その項目内の各集計欄には上記数式に基づく演算結果
が入力される。従って、各集計欄に対して数式を設定す
る必要はなく、数式の設定が非常に簡単になる。
By setting a mathematical formula for an item as described above, calculation results based on the above formula are input into each summary column within that item. Therefore, it is not necessary to set a formula for each total column, and setting the formula becomes very simple.

[実施例] 以下、図面を参魚して本発明の一実施例を説明する。[Example] Hereinafter, one embodiment of the present invention will be described with reference to the drawings.

第1図は本発明を電子手帳に実施した場合のH1略構成
を示すブロック図である。同図において11は制御部で
、この制御部11には、キー入力部12、入力バッファ
13、入力・編集データ記憶部14、表データ記憶部1
5、アドレス制御部16、属性データ判断部17、演算
゛・比較部18、表示データ記憶部19、表示部2oが
接続される。
FIG. 1 is a block diagram showing a schematic configuration of H1 when the present invention is implemented in an electronic notebook. In the figure, 11 is a control section, and this control section 11 includes a key input section 12, an input buffer 13, an input/edit data storage section 14, and a table data storage section 1.
5, an address control section 16, an attribute data judgment section 17, an arithmetic/comparison section 18, a display data storage section 19, and a display section 2o are connected.

上記キー入力部12には、テンキー、文字キー(アルフ
ァベットキー、かなキー等)、「表モード」キー 「入
力モード」キー 「実行」キー「次項目/登録」キー 
「式設定」キー、四則演算キー、マークキー カーソル
キー、サーチキーその他、各種ファンクションキーが設
けられている。上記キー入力部12から制御部11に入
力されるデータは、この制御部11より入力バッファ1
3及び表示データ記憶部1つに送られ、この表示データ
記憶部1つの保持データが表示部20に表示される。こ
の表示部20は、液晶表示装置を用いて構成され、例え
ば12桁×3行の表示両面に英数文字、1反名文字及び
漢字が表示できるようになっている。
The key input section 12 includes a numeric keypad, character keys (alphabetic keys, kana keys, etc.), a "table mode" key, an "input mode" key, an "execute" key, and a "next item/registration" key.
Various function keys are provided, including a "formula setting" key, four arithmetic operation keys, a mark key, a cursor key, a search key, and more. The data input from the key input section 12 to the control section 11 is sent to the input buffer 1 from this control section 11.
3 and one display data storage section, and the data held in this one display data storage section is displayed on the display section 20. The display section 20 is constructed using a liquid crystal display device, and is capable of displaying, for example, alphanumeric characters, one anonymous character, and kanji characters on both sides of a 12-column×3-row display.

また、入力・編集データ記憶部14は、1頁分の入力・
編集データを記憶できるようにf+W成され、1頁分の
データ編集が終了すると、その記憶データか表データ記
憶部15に転送される。表データ記憶部15に対するデ
ータの書込み/読出しは、制御部11の指示に基づいて
アドレス制御部16により実行される。また、このアド
レス制御部16内には、仲人ア“ドレス記憶部16A及
び上限アドレス記憶”((16Bが設けられ、挿入アド
レス記憶部16Aにはソート時における挿入アドレスが
、また、上限アドレス記憶部16Bにはソートの対象と
なるデータが複数ページに亘って存在する場合にその上
限のアドレスが記憶されるようになっている。
The input/edit data storage unit 14 also stores input/edit data for one page.
F+W is performed so that the edited data can be stored, and when data editing for one page is completed, the stored data is transferred to the table data storage section 15. Writing/reading of data to/from the table data storage section 15 is executed by the address control section 16 based on instructions from the control section 11. In addition, the address control unit 16 is provided with a matchmaker address “address storage unit 16A and an upper limit address storage” ((16B), and the insertion address storage unit 16A stores insertion addresses at the time of sorting, and an upper limit address storage unit 16B. 16B stores the upper limit address when data to be sorted exists over multiple pages.

更に、属性データ判断部17は、作表データ中の各項目
に入力されるデータの属性を判断する。
Further, the attribute data determining unit 17 determines the attributes of data input to each item in the tabulation data.

属性データとしては、「文字」、「数式」、「ソート」
、「マーク」、「備考」、「集計」があり、次のような
意味を持っている。
Attribute data includes "characters", "numerical formulas", and "sort"
, ``mark,''``remark,'' and ``total,'' which have the following meanings.

文字・・・その項目に入力されるデータが文字データで
あることを示している。
Character: Indicates that the data input to the item is character data.

数式・・・その項目に入力されるデータが数値データで
あることを示している。この数式においては、演算式及
び数値の設定ができる。
Numerical formula: Indicates that the data entered in the item is numerical data. In this formula, arithmetic expressions and numerical values can be set.

ソート・・・その項目に入力されたデータをソートする
ことを示している。このソート指定が行なイっれている
項目においては、左側に位置する項目が右側より優先さ
れる。
Sort: Indicates that the data entered in that item will be sorted. For items for which this sort specification is incorrect, items located on the left side have priority over those on the right side.

マーク・・・表示モードにて、その項目に設定された項
目名を出力しない。
Mark: Do not output the item name set for that item in display mode.

備考・・・表示モードにて、その項目に設定された項目
名及びその項目に対して入力されたデータを表示しない
Note: In display mode, the item name set for that item and the data entered for that item are not displayed.

累計・・・集計が設定された文字の項目に基づいて集計
が設定された数式の項目の累計を行なう。
Cumulative total: Performs a cumulative total of formula items for which aggregation is set based on text items for which aggregation is set.

また、上記演算・比較部18は、制御部11からの指示
に乱づいて、予め設定されている数式に基づく演算、あ
るいはソート■、1においてデータの比較を行ない、そ
の比較結果を制御部11に出力する。
In addition, the calculation/comparison unit 18 performs calculations based on preset formulas or compares data in sort (1) in response to instructions from the control unit 11, and sends the comparison results to the control unit 11. Output to.

第2図は上記表データ記憶部15の記憶構成を示してい
る。この表データ記憶部15は、表インデックス記憶エ
リア21、項目データ記憶エリア22、表データ記憶エ
リア23に大別される。
FIG. 2 shows the storage structure of the table data storage section 15. As shown in FIG. The table data storage section 15 is roughly divided into a table index storage area 21, an item data storage area 22, and a table data storage area 23.

表インデックス記憶エリア2]には、表の名称(文字コ
ード)が記憶されるもので、次の項目データ記憶エリア
22との間にエンドコードが書込まれる。
Table index storage area 2] stores the table name (character code), and an end code is written between it and the next item data storage area 22.

項目データ記憶エリア22には、項目A、B。Items A and B are stored in the item data storage area 22.

・・・と各項目毎に属性データ及び項目名(文字コード
)が記憶される。これらの各項目のエンド部分こは、そ
れぞれエンドコードが書込まれる。
. . . and attribute data and item name (character code) are stored for each item. An end code is written in the end portion of each of these items.

表データ記憶エリア23には、1つの表を構成するデー
タが複数のページに別けて・記憶される。
In the table data storage area 23, data constituting one table is stored separately in a plurality of pages.

この表データは、各項目A、B、・・・のデータにより
構成されており、各データ間にはエンドコードが書込ま
れる。この場合、各ページには、複数の項目A、B、・
・・の1つの欄に対するデータが記憶される。そして、
各ページのエンド部分には、ページエンドコードが書込
まれる。
This table data is composed of data for each item A, B, . . . , and an end code is written between each data. In this case, each page has multiple items A, B, .
Data for one column of . . . is stored. and,
A page end code is written at the end of each page.

上記第2図では、1つの表について示したが、表データ
記憶部15は複数の表を記憶できるメモリ容量を有して
いる。
Although one table is shown in FIG. 2, the table data storage section 15 has a memory capacity capable of storing a plurality of tables.

次に上記実施例の作表時における処理動作について説明
する。
Next, the processing operation at the time of tabulation in the above embodiment will be explained.

第3図は作表時のキー操作例及びそれに対応する表示例
を示し、第4図は作表例を示している。
FIG. 3 shows an example of key operations during tabulation and a corresponding display example, and FIG. 4 shows an example of tabulation.

この第4図は、北海道、東京都、大阪府の高等学校(7
校)の2年生を対象として、「英語」、「数学」の2科
目の模擬試験を行なった際の成績表を示したものである
。また、第4図は都市コードに基づいて小さい順にソー
ト処理を行なった結果を示しており、都市コードとして
は北海道を「1」、東京都を「13」、大阪府を「26
」に設定している。更に第4図に示す表は、上記ソート
処理後に、このソートの設定範囲内において同じ学校名
のものに対してまとめ処理を行なっている。第5図(a
)〜(d)は、データ入力に伴って処理される上記ソー
ト処理及びまとめ処理の過程を示したものである。
This figure 4 shows high schools in Hokkaido, Tokyo, and Osaka (7
This is a report showing the results of a mock exam in two subjects, ``English'' and ``Mathematics,'' for second-year students at the school. Additionally, Figure 4 shows the results of sorting in descending order based on the city code, with the city codes being Hokkaido as "1", Tokyo as "13", and Osaka prefecture as "26".
” is set. Further, in the table shown in FIG. 4, after the above-mentioned sorting process, a grouping process is performed for those having the same school name within the set range of this sorting. Figure 5 (a
) to (d) show the steps of the sorting process and grouping process that are performed in conjunction with data input.

作表を開始する場合には、第3図(a)に示すように先
ずキー入力部12における「族モードキー」を操作し、
続いて「入力モード」キーを操作する。このキー操作に
より、制御部11は作表モードでの入力モードとなる。
When starting tabulation, first operate the "family mode key" in the key input section 12, as shown in FIG. 3(a).
Next, operate the "input mode" key. With this key operation, the control unit 11 enters the input mode in tabulation mode.

この入力モードにおいて「実行」キーを操作すると、制
御部11はガイドメツセージデータ「表の名前?」を表
示データ記憶部1つに出力し、表示部20に表示する(
第3図(a))。また、データの入力位置は、カーソル
表示によって指示する。上記ガイドメツセージに従って
キー入力部12の文字キーを操作して表の名前例えば「
模擬試験成績表」を入力すると、この入力データは順次
制御部11を介して入力・編集データ記憶部14に記憶
されると共に、表示データ記憶部19に送られて表示部
20に表示される(第3図(b))。
When the "execute" key is operated in this input mode, the control unit 11 outputs the guide message data "Table name?" to one display data storage unit and displays it on the display unit 20 (
Figure 3(a)). Further, the data input position is indicated by a cursor display. Following the guide message above, operate the character keys on the key input section 12 to name the table, such as "
When the "mock test result sheet" is input, this input data is sequentially stored in the input/edit data storage section 14 via the control section 11, and is also sent to the display data storage section 19 and displayed on the display section 20 ( Figure 3(b)).

上記表の名前を入力した後、「次項目/登録」キーを操
作する。このキー操作により、入力・親果データ記ta
部14から表の名前「模擬試験成績表」が表データ記憶
部15へ送られ、第2図に示す表インデックス記憶エリ
ア21に書込まれる。
After entering the name in the table above, operate the "Next Item/Register" key. By operating this key, you can enter and record parent fruit data.
The name of the table ``mock test result sheet'' is sent from the section 14 to the table data storage section 15 and written into the table index storage area 21 shown in FIG.

また、このとき制御部11は、「項tJA;コ及び登録
可能な属性データ「備考、ソート、マーク、文字、数式
」を表示データ記憶部19に出力し、表示部20にガイ
ド表示する(第3図(C))。
In addition, at this time, the control unit 11 outputs “item tJA; and registerable attribute data “remarks, sort, mark, character, formula” to the display data storage unit 19, and displays it as a guide on the display unit 20 ( Figure 3 (C)).

この状態で属性データとして例えば「文字」と「マーク
」を指定すると、指定された属性データは入力・編集デ
ータ記憶部14に記憶されると共に、画面上において「
項目A:文字・マーク」と表示される(第3図(d))
。続いて項目名として例えば「都道府県名」を入力する
と、この項目名は入力・編集データ記“憶部14に記憶
されると共に、画面上に上記「項目A:」の下側に表示
される(第3図(e))。
If, for example, "character" and "mark" are specified as attribute data in this state, the specified attribute data will be stored in the input/edit data storage section 14, and will also be displayed on the screen as "character" and "mark".
"Item A: Characters/Marks" is displayed (Figure 3 (d))
. Next, if you enter, for example, "prefecture name" as an item name, this item name is stored in the input/edit data storage section 14 and displayed on the screen below the above "Item A:". (Figure 3(e)).

上記のようにして項1丁I Aに対する属性データ及び
項]1名を設定した後、「次項「1/登録」キーを操作
する。このキー操作により制御部11は、次の「項目B
二」を属性のガイドデータと共に表示部20に表示する
(第3図(f))。以下、同様の操作により「項目名」
及びその「属性」を順次設定する。この場合、「項目E
:」は第4図の表に示すように学年の設定であるので、
項目名として「学年」を入力すると共に属性として「数
式」を指定しく第3図(g)、(h)) 、次いで「式
設定」キーを操作する。この「式設定」キーが操作され
ると、制御部11は表示部20に項目名として「学年」
を表示すると共に、「数式: 」を表示する(第3図(
i))。このガイド表示に従って学年数、例えば2学年
であれば「2」を入力する(第3図(j))。以上の操
作により2学年が数式として入力・編集データ記憶部1
4に書込まれる。
After setting the attribute data and item 1 name for item 1-IA as described above, operate the ``next item 1/registration'' key. By this key operation, the control unit 11 selects the next “Item B”.
2'' is displayed on the display unit 20 together with the attribute guide data (FIG. 3(f)). Below, use the same operation to change the "Item name"
and its "attributes" are set sequentially. In this case, “Item E
:” is the grade setting as shown in the table in Figure 4, so
Input "grade" as the item name and specify "mathematical formula" as the attribute (Fig. 3 (g), (h)), then operate the "formula setting" key. When this "formula setting" key is operated, the control section 11 displays "grade" as the item name on the display section 20.
is displayed as well as "Formula:" (see Figure 3 (
i)). Following this guide display, the student enters the number of grades, for example, "2" for the second grade (Fig. 3 (j)). With the above operations, the 2nd grade can enter and edit data storage part 1 as a mathematical formula.
Written to 4.

その後、同様にして「項目F:」に対して属性「数式」
及び項目名「英語」を設定し、また、「項1:I G 
: Jに対して属性「数式」及び項目名「数学」を設定
する。この場合、「項目F:」、「項目G:」の属性「
数式」は、この項目に入力されるデータが数値データで
あることを示しているので、演算式の設定は必要としな
い。次いで、「項目H;」に対して属性「数式」及び項
目名「合計」を設定するが、この場合の「数式」は、「
項目F」と「項目G」の合計であるので、「式設定キー
」操作した後、文字キー及び演算キーによりrF+GJ
の演算式を設定する(第3図(k)、(R))。
After that, in the same way, for "Item F:" the attribute "Formula"
and set the item name “English”, and also set “Item 1: I G
: Set the attribute "mathematical formula" and the item name "mathematics" for J. In this case, the attribute of “Item F:” and “Item G:” is “
"Numerical formula" indicates that the data input to this item is numerical data, so it is not necessary to set an arithmetic formula. Next, the attribute "Formula" and the item name "Total" are set for "Item H;", but in this case, "Formula" is "
Since it is the sum of "item F" and "item G," after operating the "formula setting key," use the character keys and calculation keys to rF+GJ.
Set the calculation formula (Fig. 3 (k), (R)).

上記のようにしてA−Hの全項目に対する「項目名」及
び「数式」を設定した後、「実行」キーを操作する。こ
の「実行」キーが操作されると、制御部11は入力・編
集データ記憶部14に記憶しているA−Hの全項目に対
する「項目名」及び「数式」を第2図に詳細を示す表デ
ータ記憶部15に転送し、項目データ記憶エリア22に
記憶設定する。
After setting the "item name" and "formula" for all items A to H as described above, the "execute" key is operated. When this "execute" key is operated, the control section 11 displays "item names" and "formulas" for all items A to H stored in the input/edit data storage section 14, details of which are shown in FIG. It is transferred to the table data storage section 15 and stored and set in the item data storage area 22.

その後、制御部11は、表データ記憶部15の表データ
記憶エリア23に対するデータ入力処理を第6図のフロ
ーチャートに従って実行する。制御部11は、まず、項
目データ記憶エリア22の先頭項目のアドレスを指定し
くステップAI)、その項目内の属性データ「文字・マ
ーク」を属性データ判断部17に読出す(ステップA2
)。属性データ判断部17は、入力された属性データが
数式であるか文字であるかを?IJ断じ(ステップA3
)、文字であればステップA4に進み、数式であればス
テップA5に進む。この場合、先順項目における属性デ
ータは「文字・マーク」であるので、ステップA4に進
んで項目名を表示データ記憶部19に読出し、表示部2
0に「都道府県名?」を表示して高等学校の所在地のデ
ータ入力をガイドする(第3図(m))。制御部11は
キー入力が行なわれるまで待機状態となる(ステップA
6)。ユーザーは、表示部20に「都道府県名?」のガ
イド表示に従って学校の所在する都道府県名を入力する
。今、例えば第5図(a)に示すように「東京都」に所
在する「東京高校」の生徒の成績を入力するものとし、
ます、都道府県名として「東京」を入力すると、そのキ
ー入力の内容がステップA7において判断される。デー
タか入力された場合にはステップA8に進み、入力デー
タを大力バッフ713に書込んだ後にステップA6に戻
る。引続きデータが入力されている間は、ステップA3
−A3の操作が繰返され5、入力データが入力バッファ
13に蓄えられる。そして、「東京」のデータを入力し
た後、「次項口/登録」キーを操作すると、ステップA
7によりキー操作内容が判断されてステップA9に進み
、上記入力バッファ13に蓄えられた入力データ「東j
;(」が入力・編集データ記憶部14へ転送される。そ
の後、ステップA25に進んで「次項口」の有無がチエ
ツクされ、次項口があればステップA2Gによりそのア
ドレスを指定してステップA2に戻る。なお、2ページ
以降のデータ入力において、すでに登録されているデー
タを利用してデータ簡易入力を行なう場合には、上記ス
テップA6のキー入力待ちの状、態においてカーソルキ
ーを操作する。このカーソルキーの托作によりステップ
A7からステップAllに進み、以下ステップA11l
lまでの処理によりデータ簡易入力に対する処理か実行
されるが、その詳細については後述する。
Thereafter, the control section 11 executes data input processing to the table data storage area 23 of the table data storage section 15 according to the flowchart of FIG. The control unit 11 first specifies the address of the first item in the item data storage area 22 (step AI), and reads out the attribute data “character/mark” in that item to the attribute data determination unit 17 (step A2).
). The attribute data judgment unit 17 determines whether the input attribute data is a mathematical formula or a character. IJ cutting (step A3
), if it is a character, the process proceeds to step A4, and if it is a mathematical expression, the process proceeds to step A5. In this case, since the attribute data in the preceding item is "character/mark", the process proceeds to step A4, reads out the item name to the display data storage section 19, and displays the item name on the display section 2.
"Prefecture name?" is displayed at 0 to guide data entry of the location of the high school (Fig. 3 (m)). The control unit 11 is in a standby state until a key input is made (step A).
6). The user inputs the name of the prefecture where the school is located on the display unit 20 according to the guide display of "Prefecture name?". Now, for example, as shown in Figure 5(a), the grades of students at "Tokyo High School" located in "Tokyo" are input.
First, when "Tokyo" is input as the prefecture name, the content of the key input is determined in step A7. If any data has been input, the process advances to step A8, and after writing the input data to the power buffer 713, the process returns to step A6. While data is still being input, step A3
- The operation of A3 is repeated 5, and the input data is stored in the input buffer 13. After inputting the data for "Tokyo", press the "Next entry/registration" key, and step A
7, the content of the key operation is determined, and the process proceeds to step A9, where the input data stored in the input buffer 13 is
;('' is transferred to the input/edit data storage unit 14.Then, the process advances to step A25, where the presence or absence of the "next item opening" is checked. If there is a next item opening, its address is specified in step A2G, and the process goes to step A2. Return.In addition, in data input from the second page onward, if you want to perform simple data input using already registered data, operate the cursor keys in the state of waiting for key input in step A6. By pressing the cursor key, proceed from step A7 to step All, and then proceed to step A11l.
Through the processing up to l, processing for simple data input is executed, the details of which will be described later.

以下、同様のキー入力操作及び処理動作が繰返され、第
5図(a)に示すように「項目B」に東京都の都市コー
ド「13」、「項目C」に学校名「東京高校」、「項目
D」に生徒の氏名「山下二部」が順次設定される。続い
て「項目E」に学年を設定する際、その属性データが読
出されると、この属性データは「数式」であるので、ス
テップA3からステップA5に進み、数式(数値または
演算式)か設定されているか否かfす断される。数式が
設定されていない場合にはステップA4に進み、数式が
設定されていればステップA19に進む。
Thereafter, similar key input operations and processing operations are repeated, and as shown in FIG. The student's name "Yamashita Nibu" is sequentially set in "Item D". Next, when setting the grade in "Item E", when the attribute data is read out, this attribute data is a "mathematical formula", so the process proceeds from step A3 to step A5, and whether it is a mathematical formula (numeric value or arithmetic formula) is set. It is determined whether the If the formula has not been set, the process advances to step A4; if the formula has been set, the process advances to step A19.

上記「項目E」では数式が設定されているので、ステッ
プAI9により、数式が演算式であるか数値であるか判
断される。この場合には「項目E」の数式の内容が数値
であるので、ステップA20に進む。このステップA2
0では、表データ記憶部15から「項目E」に対する項
目名「学年」及び「数1it!2Jを表示データ記憶部
1つに読出し、第3図(0)に示すよう「学年?」及び
数値「2」を表示部20に表示し、次いでステップA2
1において上記数値「2」を入力・編集データ記憶部1
4に転送する。この状態で「次項1−1/登録」キーが
操作されるまで待機する(ステップA22)。
Since a mathematical formula is set in the above "item E", it is determined in step AI9 whether the mathematical formula is an arithmetic formula or a numerical value. In this case, since the content of the formula for "item E" is a numerical value, the process advances to step A20. This step A2
0, the item name "grade" and "number 1it!2J" for "item E" are read out from the table data storage section 15 into one display data storage section, and "grade?" and the numerical value are read as shown in FIG. 3 (0). "2" is displayed on the display section 20, and then step A2
1, enter the above numerical value "2" and edit data storage section 1
Transfer to 4. In this state, the process waits until the "next item 1-1/registration" key is operated (step A22).

上記学年数を示す数値「2」の表示は、変更する必要が
ないので、使用者はそのまま「次項1;1/登録」キー
を操作する。制御部11は、上記「次項g/f2録jキ
ーが操作されたことを検知すると(ステップA22)、
次項口があるか否かをチエツクする(ステップA25)
。この時点では、次項口が未だあるので、ステップA2
13を経てステップA2に戻り、「項目F」に対して英
語の点数「90」、「項目G」に対して数学の点数「7
5」を入力する。この場合の処理は、ステップA3−A
5→A4→A11i−A7→A8−Altにより行なわ
れる。
Since there is no need to change the display of the numerical value "2" indicating the number of grades, the user simply operates the "Next Item 1; 1/Registration" key. When the control unit 11 detects that the ``next item g/f2 record j key'' is operated (step A22),
Check whether there is a next entry (step A25)
. At this point, there is still the next entry, so step A2
13 and returns to step A2, where the English score is "90" for "Item F" and the math score is "7" for "Item G".
5". In this case, the process is step A3-A
5→A4→A11i-A7→A8-Alt.

その後、「項目H」に対する処理が行なわれる。Thereafter, processing for "item H" is performed.

二の「項目HJでは、数式としてrF+GJの演算式が
設定されているので、ステップA19からステップAI
3に進んで rF+G−90+75−165J の演算処理が行なわれ、その演算結果が入力・編集デー
タ記ja部14に記憶される(ステップA24)。以下
、同様にして2ページ以降の入力データに対しても、「
項目H」においては、Pめ設定されている成算式rF+
GJに基づいて演算処理か実行される。すなわち、「項
目H」の各欄(ページ)に対して成算式を設定すること
なく、演算処理が実行される。
In the second item HJ, the calculation formula rF+GJ is set as the formula, so step A19 to step AI
3, the calculation process rF+G-90+75-165J is performed, and the calculation result is stored in the input/edit data storage section 14 (step A24). Below, in the same way, for the input data from page 2 onwards, "
In "Item H", the composition formula rF+ set as P
Arithmetic processing is performed based on GJ. That is, the arithmetic processing is executed without setting a formula for each column (page) of "Item H".

そして、上記最後の「項r、J Hゴに対する処fψを
終了すると、ステップA25で次の項[1か無いと判断
されてステップA27に進み、入力・騙果データ記憶部
14に保持されているデータが表データ記憶部15に書
込まれる。そして、この表データ記憶部15の記憶デー
タに基づいて表示処理が行なわれる。
Then, when the processing fψ for the last term r, JH is completed, it is determined in step A25 that the next term is [1 or absent, and the process proceeds to step A27, where the process is held in the input/deception data storage unit 14. The data stored in the tabular data storage section 15 is written into the tabular data storage section 15. Then, display processing is performed based on the data stored in the tabular data storage section 15.

この表示処理は、第7図に示すフローチャートに従って
行なわれる。先ず、表データ記憶部15に対して今入力
したページの先頭項目Aのアドレスを指定しくステップ
B1)、その属性データを属性データ判断部17に出力
して「備考」であるか否かを↑り断する(ステップB2
.B3)。属性データが「備考」でなければ更に「マー
ク」が指定されているか否かを判断する(ステップB4
)。
This display processing is performed according to the flowchart shown in FIG. First, in step B1), specify the address of the first item A of the page that has just been inputted to the table data storage unit 15, and output the attribute data to the attribute data judgment unit 17 to determine whether it is a "remarks" or not. (Step B2)
.. B3). If the attribute data is not "remarks", it is further determined whether "mark" is specified (step B4
).

「マーク」が指定されていなければ項目名を表示データ
記憶部1つへ出力しくステップB5)、次いで指定項目
データ(表データ記憶エリア23)をアドレス指定する
(ステップBe)。「マーク」が指定されていれば、ス
テップB5の処理は行なわれずにステップB6の処理を
実行する。この例では「マーク」が指定されているので
、表示ブタ記憶部1つへの項目名「都道府県名」の転送
は行なわずにステップB6の処理を実行する。すなわち
、属性として「マーク」が設定されていた場合には、そ
の項目に設定された項目名を表示しないようにしている
。次いで表データ記憶部15から指定項目のデータ「東
京」を読出して表示デー夕記憶部1つへ出力する。その
後、次項口があるか否かを↑り断しくステップB8)、
次項に1があれば次項11のアドレスを指定してステッ
プB2に戻る。
If "mark" is not specified, the item name is output to one display data storage section (step B5), and then the specified item data (table data storage area 23) is addressed (step Be). If "mark" is specified, the process of step B6 is executed without performing the process of step B5. In this example, since "mark" is specified, the process of step B6 is executed without transferring the item name "prefecture name" to one display pig storage section. That is, if "mark" is set as an attribute, the item name set for that item is not displayed. Next, the designated item data "Tokyo" is read from the table data storage section 15 and output to one display data storage section. After that, determine whether there is a next item or not (step B8),
If there is 1 in the next item, the address of the next item 11 is designated and the process returns to step B2.

項目Bでは属性データとして「備考」が設定されている
ので、ステップB3の判断結果がYesとなる。この場
合には、ステップ84〜B7の処理は行なわず、直ちに
ステップB8の処理に進む。
Since "remarks" is set as attribute data in item B, the determination result in step B3 is Yes. In this case, steps 84 to B7 are not performed and the process immediately proceeds to step B8.

すなわち、属性データとして「備考」が設定されている
場合、その項目に設定されている項目名及びその項目に
対して入力されたデータの表示を行なわないようにして
いる。
That is, when "remarks" is set as attribute data, the item name set for that item and the data input for that item are not displayed.

以下、同様にして項目Hまでの処理を行ない、項目名及
びデータを表示データ記憶部1つに転送する。そして、
全項目の処理を終了すると、表示データ記憶部19の記
憶内容に基づいて表示部20を駆動する。この場合、表
示部20の表示容量が小さく、表示データ記憶部19に
記憶した全データを一度には表示できないので、先ず、
第3図(p)に示すように、都道府県名、学校名、氏名
、学年を表示する。この状態で次項口を指示するカーソ
ルキーを操作すると、表示データ記憶部1つから「項目
F」の項目名「英語」及び表データ「90」が読出され
て表示される(第3図(q))。更にカーソルキーを操
作すると表データ記憶部15から「項目G」の項目名「
数学」及び表データ「75」及び「項目H」の項目名「
合計」及び合計値を示す表データrl 65Jが読出さ
れて表示される(第3図(r))。
Thereafter, processing up to item H is performed in the same manner, and the item name and data are transferred to one display data storage section. and,
When all the items have been processed, the display unit 20 is driven based on the contents stored in the display data storage unit 19. In this case, since the display capacity of the display section 20 is small and all the data stored in the display data storage section 19 cannot be displayed at once, first,
As shown in FIG. 3(p), the prefecture name, school name, name, and grade are displayed. In this state, when you operate the cursor key to indicate the next item, the item name ``English'' and table data ``90'' of ``item F'' are read out from one display data storage section and displayed (see Figure 3 (q). )). Further, by operating the cursor key, the item name of "Item G" is retrieved from the table data storage section 15.
Mathematics” and table data “75” and item name of “Item H” “
"Total" and table data rl 65J indicating the total value are read out and displayed (FIG. 3(r)).

上記のように第6図に示すフローチャートに従ってデー
タ入力が行なわれ、その入力データが入力・編集データ
記憶部14に一時的に記憶される。
As described above, data input is performed according to the flowchart shown in FIG. 6, and the input data is temporarily stored in the input/edit data storage section 14.

そして、1ペ一ジ分のデータ入力を終了すると、つまり
、最後の項目Hまでのデータを入力すると、入力・編集
データ記憶部14に一時記憶されていたデータが上記第
6図のステップA27において表データ記憶部15に登
録される。この入力・編集データ記憶部14から表デー
タ記憶部15へのデータ登録処理は、第8図に示すフロ
ーチャートに従って行なわれるが、この登録の際に第5
図(a)〜(d)に示すようにソート処理及び学校名別
にまとめ処理が行なわれる。
When data input for one page is completed, that is, when data up to the last item H is input, the data temporarily stored in the input/edit data storage section 14 is transferred to step A27 in FIG. It is registered in the table data storage section 15. This data registration process from the input/edit data storage unit 14 to the table data storage unit 15 is performed according to the flowchart shown in FIG.
As shown in FIGS. (a) to (d), sorting processing and grouping processing by school name are performed.

以下、第8図のフローチャートを参照して表データ記憶
部15に対する登録処理について説明する。この登録処
理に際しては、先ず、表データ記憶部15内の表データ
記憶エリア23の最終アドレスをアドレス制御部16内
の押入アドレス記憶部16Aにセット(ステップCI)
すると共に、表データ記憶エリア23の先頭アドレスを
アドレス記憶部16Bにセットする(ステップC2)。
The registration process for the table data storage section 15 will be described below with reference to the flowchart in FIG. In this registration process, first, the final address of the table data storage area 23 in the table data storage section 15 is set in the push address storage section 16A in the address control section 16 (step CI).
At the same time, the start address of the table data storage area 23 is set in the address storage section 16B (step C2).

次いで先頭項目Aのアドレスを指定してその属性データ
を属性データ判断部17に読出しくステップC3,C4
)、ソート指定の有無をi11断する(ステップC5)
。項目Aにはソート指定がないので、この場合は更に次
項口のを無を判断するステップC6を経て次項口Bに対
するアドレスを指定する(ステップC7)。
Next, specify the address of the first item A and read the attribute data to the attribute data judgment unit 17 in steps C3 and C4.
), i11 determines whether there is a sort specification (step C5)
. Since there is no sort specification for item A, in this case, the address for next item B is specified after passing through step C6 in which it is determined whether the next item is empty (step C7).

そして、この次項口Bの属性データを属性データ判断部
17に読出してソート指定の有無を判断しくステップC
4,C5)、ソート指定があればステップC8に進む。
Then, the attribute data of the next entry B is read out to the attribute data determining unit 17 to determine whether or not sorting is specified.Step C
4, C5), if there is a sort specification, proceed to step C8.

項目Bの属性データとしてソート指定がなされているの
で、ステップC8において、入力・編集データ記憶部1
4から指定項目の表データを読出して演算・比較部18
に出力する。今、第5図(a)に示す1ページ1」の入
力データを登録する場合であれば、都市コード「13」
が演算・比較部18に入力される。
Since sorting is specified as the attribute data of item B, in step C8, input/edit data storage unit 1
4 reads the table data of the specified item and calculates and compares the data
Output to. Now, if you want to register the input data of 1 page 1 shown in Figure 5(a), the city code is 13.
is input to the calculation/comparison section 18.

この状態で、ステップC9により抑大アドレスに対する
前ページの有無が判断されるが、1ページロの登録時に
は前ページがないので、指定ベージ最終アドレス、つま
り、1ページを示すアドレスが上限アドレス記憶部16
Bにセットされる。
In this state, it is determined in step C9 whether there is a previous page for the suppression address, but since there is no previous page at the time of registration of 1st page, the specified page final address, that is, the address indicating 1st page, is the upper limit address storage unit 16.
Set to B.

その後、上記ステップC6を経てステップC7に戻り、
次項口アドレスが指定される。項目C以降においては、
ソート指定がないのでステップC5からそのままステッ
プCGに進む。以下、同ト1にして各項目に対するも理
が行なわれる。
After that, return to step C7 via step C6,
The next entry address is specified. From item C onwards,
Since there is no sort specification, the process directly advances from step C5 to step CG. Hereinafter, the calculations for each item will be performed in the same manner.

そして、全項口に対する処理を終了すると、ステップC
6からステップC16に進み、登録するデー、夕の先頭
項目アドレスを指定し、その属性デー夕を属性データ判
断部17に読出して、属性コードが「文字」であるか否
かを判断する(ステップC17,C1g)。先頭項目A
は属性コードとして「文′r」が設定されているので、
この場合には更にソート指定の有無を判断し、ソート指
定が無ければ、入力・1.j集データ記憶部14から指
定項目の表データを演算・比較部18に読出す(ステッ
プC20)。次いで抽入アドレスに対する前ページの白
゛無を判断しくステップC21)、前ページがあればス
テップC22に進み、前ページが無ければステップC2
7に進む。1ページ目の登録時には前ページが無いので
、ステップC27に進んで次項[1データのrl−無が
1′す断される。次項F1データがある場合は、次項[
Iのアドレスを指定(ステップC29)して属性データ
を属性データ判断部17に読出して「文字」が設定され
ているか否かを判断する(ステップC17,C1g)。
Then, when the processing for all entries is completed, step C
6 to step C16, the first item address of the day and night to be registered is specified, and the attribute data is read out to the attribute data judgment unit 17, and it is judged whether the attribute code is "character" (step C17, C1g). First item A
Since "sentence'r" is set as the attribute code,
In this case, it is further determined whether there is a sort specification, and if there is no sort specification, input 1. The tabular data of the specified item is read from the J collection data storage section 14 to the calculation/comparison section 18 (step C20). Next, it is determined whether the previous page is blank or not for the extracted address (step C21), and if there is a previous page, the process proceeds to step C22; if there is no previous page, step C2)
Proceed to step 7. Since there is no previous page when the first page is registered, the process advances to step C27 and the next item [rl-none of data 1' is rejected. If there is F1 data in the next section, please refer to the next section [
The address of I is specified (step C29), the attribute data is read out to the attribute data determining section 17, and it is determined whether "character" is set (steps C17, C1g).

項目Bの属性データとしては、「文字」が設定されてい
ないので、直ちにステップC27において次項前データ
のG無がチエツクされる。
Since "character" is not set as the attribute data of item B, G-absence of the data before the next item is immediately checked in step C27.

そして、上記ステップC27において次項I′XIデー
タなしと111断されると、入力・1.1集デ一タ記憶
部14に保持している入力データを抑大アドレス記憶部
16Aにより指定される表データ記憶部15の1ページ
に登録する。以上の処理により第5図(a)に示す入力
データが表データ記憶部15に登録される(ステップ0
28)。
If it is determined in step C27 that there is no data for the next item I' It is registered on page 1 of the data storage section 15. Through the above processing, the input data shown in FIG. 5(a) is registered in the tabular data storage section 15 (step 0
28).

次に上記第5図(a)のデータが表データ記憶部15に
設定されている状態で、2ページ目に北海道の北馬高校
のデータを入力すると、以下の登録処理が行なわれる。
Next, with the data shown in FIG. 5(a) set in the tabular data storage section 15, if data for Hokuma High School in Hokkaido is entered on the second page, the following registration process will be performed.

ステップ01〜C7においては、上記1ページのデータ
登録時と同様の処理が行なわれ、項目Bの属性データが
読出された時にステップC5においてソート指定ありと
判断され、ステップC8に進む。
In steps 01 to C7, the same processing as in the case of registering one page of data is performed, and when the attribute data of item B is read out, it is determined in step C5 that sorting is specified, and the process proceeds to step C8.

このステップC8では、入力・騙集データ記憶部14か
ら指定項目Bの表データとして北海道の都市コード「1
」が読出されて演算・比較部18に入力される。
In this step C8, the Hokkaido city code “1
" is read out and input to the calculation/comparison section 18.

この状態で押入アドレスに対する前ページの勺゛無が判
断(ステップC9)されるが、2ページ目の登録時で前
ページがある場合には、ステ・ンプCIOに進んで前ペ
ージアドレスが上限アドレス記憶部16Bに記憶してい
るアドレス以上か否かを判断する。この判断粘果がNo
の場合にはステップC15に進み、YESの場合にはス
テップC1lに進む。2ページ目の登録を行なう場合に
は、前ページアドレスと上限アドレス記憶部16Bに記
憶されているアドレスが等しく、従って、テップCIO
の判断結・果がYESとなり、ステップC1lに進んで
前ページの指定項目の表データをアドレス指定し、指定
項目Bの表データ、つまり、都市コード「13」を演算
・比較部18に入力し、上記入力データとの間で大小関
係を比較する。入力データが表データより大きい場合に
はステップCI5へ、また、入力データが表データより
小さい場合にはステップCI4へ進み、入力データと表
データが等しい場合にはステップC9に戻る。この場合
には、入力データ「1」が表データ「13」より小さい
ので、ステップCI4に進んで指定ページの先頭アドレ
スを押入アドレス記憶部16Aに記憶し、その後、ステ
ップC9に戻る。ステップCI3゜C14からステップ
C9に戻る際には、ページ指定アドレスが「−1」され
、ステップC9以下の処理が繰り返される。すなわち、
表データ記憶部15にすでに腹数のページが記憶されて
いる場合には、上記ステップC9〜C14の処理が繰り
返され、t1j人アドレス記憶部16Aのデータ書換え
によるソート処理が行なわれる。また、上記のソート処
理により押入アドレス記憶部16Aにセットされた指定
ページ先頭アドレスが確定した後、ソートされた都市コ
ードと同じ都市コードがすでに登録されている場合には
、更にステップC9〜ステツプC13の処理が繰り返さ
れて同−都市コードの最上f立ページのアドレスが求め
られ、上限アドレス記憶部16Bにセットされる。すな
わち、ステップ09〜C13の処理において、ステップ
C9により1ページまでの処理を終了したと’I’11
断された場合、ステップCIOにより上限アドレス記憶
部16Bに記憶されたアドレスが前ページアドレスより
大きいとI’l+断された場合、ステップC13により
入力データより表データの方か小さいと判断された場合
に、同−都市コードの最上位ページのアドレスが確定し
、上限アドレス記憶部16Bに書込まれる(ステップC
15)。
In this state, it is determined whether the previous page is empty or not for the push-in address (step C9), but if there is a previous page when registering the second page, the process proceeds to step CIO and the previous page address is set as the upper limit address. It is determined whether the address is greater than or equal to the address stored in the storage unit 16B. This decision is no
In the case of YES, the process proceeds to step C15, and in the case of YES, the process proceeds to step C1l. When registering the second page, the previous page address and the address stored in the upper limit address storage section 16B are the same, so the step CIO
If the judgment result is YES, proceed to step C1l, address the table data of the specified item on the previous page, and input the table data of specified item B, that is, the city code "13" to the calculation/comparison section 18. , the magnitude relationship is compared with the above input data. If the input data is larger than the table data, the process advances to step CI5; if the input data is smaller than the table data, the process advances to step CI4; if the input data and the table data are equal, the process returns to step C9. In this case, since the input data "1" is smaller than the table data "13", the process advances to step CI4 to store the start address of the designated page in the pressed address storage section 16A, and then returns to step C9. When returning from step CI3°C14 to step C9, the page designation address is incremented by "-1" and the processes from step C9 onwards are repeated. That is,
If the tabular data storage section 15 already stores the pages of the number of bells, the above steps C9 to C14 are repeated, and the sorting process is performed by rewriting the data in the t1j person address storage section 16A. Further, after the specified page start address set in the push-in address storage section 16A is determined by the above sorting process, if the same city code as the sorted city code has already been registered, steps C9 to C13 are further performed. The above process is repeated to obtain the address of the highest page of the same city code and set it in the upper limit address storage section 16B. That is, in the processing of steps 09 to C13, 'I'11 indicates that the processing of up to one page has been completed in step C9.
If it is determined that the address stored in the upper limit address storage unit 16B is greater than the previous page address by step CIO, if it is determined that the table data is smaller than the input data by step C13. Then, the address of the highest page of the same city code is determined and written to the upper limit address storage section 16B (step C).
15).

その後、上記ステップC6,C7を経て次の項目に対す
る処理を実行する。
Thereafter, the process for the next item is executed through steps C6 and C7.

そして、全項1]に対する処理を終了すると、ステップ
C6からステップC1Bに進み、登録するデータの先頭
項目アドレスを指定し、その属性データを属性データ判
断部17に読出して、属性コードが「文字」であるか否
かをI’11断する(ステップC17,Cl1l)。先
頭項目Aは属性コードとして「文字」が設定されている
ので、この場合には史にソート指定の−a無を判断し、
ソート指定が無ければ、入力・編集データ記憶部14か
ら指定項]−1の表データを清算・比較部18に読出す
(ステップC20)。次いで押入アドレスに対する前ペ
ージの有無を判断しくステップC21)、前ページがあ
ればステップC22に進み、前ページか無ければステッ
プC27に進む。この■!を点では押入アドレスが1ペ
ージとなっているので、前ページなしと判断され、ステ
ップC27に進んで次項ロデータの有無が判断される。
When the processing for [all items 1] is completed, the process proceeds from step C6 to step C1B, where the first item address of the data to be registered is specified, the attribute data is read out to the attribute data judgment unit 17, and the attribute code is "character". I'11 determines whether or not (step C17, Cl11). Since the first item A has "character" set as the attribute code, in this case, it is determined whether the sort specification is -a or not, and
If there is no sort specification, the table data of the specified item]-1 is read out from the input/edit data storage unit 14 to the settlement/comparison unit 18 (step C20). Next, it is determined whether or not there is a previous page for the inserted address (step C21). If there is a previous page, the process proceeds to step C22; if there is no previous page, the process proceeds to step C27. This ■! Since the entry address is page 1 at point , it is determined that there is no previous page, and the process proceeds to step C27, where it is determined whether or not there is next page data.

次項l」データがある場合は、次項口のアドレス、この
場合には項目Bのアドレスを指定(ステップC29)し
て属性データを属性データill断部17に読出して「
文字」が設定されているか否かをt++断する(ステッ
プC17,CI8)。項D Bの属性データとしては、
「文字」が設定されていないので、直ちにステップC2
7において次項口データの有無がチエツクされる。
If there is "next item l" data, specify the address of the next item, in this case, the address of item B (step C29), read the attribute data to the attribute data ill cutter 17, and read the attribute data to the attribute data ill cutter 17.
It is determined at t++ whether "character" is set (steps C17, CI8). The attribute data of term D B is:
Since "Character" is not set, immediately step C2
At step 7, the presence or absence of next entry data is checked.

その後、次項口Cのアドレスが指定され(ステップC2
9)、その属性データF文字・マーク」が属性データ判
断部17に読出されて属性データ「文字」の有無がチエ
ツクされ(ステップCI8、Cl9)、続いてソート指
定の有無がチエツクされる。以下、同様にして各項目の
内容がチエツクされるが、属性データが「文字」でない
場合、及び属性データが「文字」であってもソート指定
の無い項目に対しては、特に処理は行なわずに次の項目
チエツクに進む。そして、属性データが「文字」で、か
つ、ソート指定の無い項目に対して特定の処理を行なう
ものであるが、第5図(b)の例ではステップC22に
おいて前ページなしと’I’11断されるので、特定の
処理は行なわれない。そして、ステップC27において
次項[1データなしとt、11断されると、入力・編集
データ記憶部14に保持している入力データを仲人アド
レス記憶部16Aに記憶している押入アドレスに従って
表データ記憶部15に登録する。従って、第5図(a)
に示すように1ページ目に東〕;i都の東京高校に関す
るデータを入力した後、北海道の北馬高校に関するデー
タを入力すると、都市コードに従ってソート処理が行な
われ、表データ記憶部15には第5図(b)に示すよう
に1ページ目に北馬高校、2ページ目に東京高校のデー
タが登録される(ステップC28)。
After that, the address of the next port C is specified (step C2
9), the attribute data "F character/mark" is read out to the attribute data determining section 17, and the presence or absence of the attribute data "character" is checked (steps CI8, Cl9), and then the presence or absence of sort designation is checked. Thereafter, the contents of each item are checked in the same way, but no special processing is performed if the attribute data is not "character" or if the attribute data is "character" but there is no sort specification. Proceed to check the next item. Then, a specific process is performed for an item whose attribute data is "character" and there is no sorting specification, but in the example of FIG. Since the connection is disconnected, no specific processing is performed. Then, in step C27, if the next item [1 data is not found, t, 11 is rejected, the input data held in the input/edit data storage section 14 is stored as table data according to the input address stored in the matchmaker address storage section 16A. Register in section 15. Therefore, Fig. 5(a)
As shown in page 1, if you enter data about Tokyo High School in Tokyo and then enter data about Hokuma High School in Hokkaido, sorting will be performed according to the city code, and the data will be stored in the table data storage unit 15. As shown in FIG. 5(b), data for Hokuma High School is registered on the first page and data for Tokyo High School on the second page (step C28).

次に北海道の北高校のデータを入力すると、上記した入
力処理及び登録処理が行なわれ、都市コード(こ越づく
ソート1こより、表データ11己憶部15には第5図(
c)に示すように1ページに北海道の北馬高校、2ペー
ジに北海道の北高校、3ページに東京都の東京高校のデ
ータが登録される。
Next, when the data of Kita High School in Hokkaido is input, the above-mentioned input processing and registration processing are performed, and the city code (from Kogoetsu Sort 1), table data 11 memory section 15 is shown in Figure 5 (
As shown in c), data for Hokuma High School in Hokkaido is registered on page 1, data for Kita High School in Hokkaido is registered on page 2, and data for Tokyo High School in Tokyo is registered on page 3.

次いで北海道の北馬高校のデータを入力すると、同様に
して入力処理及び登録処Pl!が行なわれ、第5図(d
)に示すように都市コードに扛づくソートにより、入力
した北海道の北馬高校が東京都の東京高校より上位にX
i録されると共に、史にソート指定が無く、かつ、属性
データ「文字」が及定されている項[、J(c)のデー
タに褪づいてページのまとめ処理、つまり、ソート範囲
内において同じ名前の高校がまとめられ、北海道の北高
咬より上位に登録される。また、同じ高校内で同じ名前
の生徒が/7在した場合は、その範囲内でまとめ処理が
行なわれる。
Next, when you input the data of Hokuma High School in Hokkaido, the input processing and registration office Pl! was carried out, as shown in Figure 5(d)
), by sorting based on the city code, Hokuma High School in Hokkaido is ranked higher than Tokyo High School in Tokyo.
In addition to being recorded in the history, there is no sort specification in the history, and the attribute data "character" is specified. High schools with the same name are grouped together and registered higher than Hokkaido's Kitatakabite. Furthermore, if there are /7 students with the same name in the same high school, grouping processing is performed within that range.

すなわち、4ベージ[1に上記北海道の北馬高校のデー
タを入力した場合、第8図の登録処理においてソート処
理を終了した後、項目Cが指定されると、ステップC2
0により表データ「北馬高校」がl寅算・比較部18に
入力される。次いでステッブC21において、指定アド
レスに対する前ページ(2ページ)のG無がチエツクさ
れるか、この場合には前ページありと判断されてステッ
プC22に進む。このステップC22では、前ページア
ドレスが上限アドレス記憶部16Bに記憶しているアド
レス以上か否かを判断し、すなわち、北海道のソート範
囲内か否かを’I’11断し、範囲内であれば前ページ
の指定類IIIの表データをアドレス指定しくステップ
C23)、指定類IJ Cの表データ、「北1α校」を
演算・比較部18に入力し、上記入力データ「北南高校
」と同じか否かを比較■断する(ステップC25)。こ
の場合は不一致であるので、ステップC2+に戻る。こ
のときページ指定アドレスか「−1」され、ステップC
2+において、このページ指定アドレスの前のページ(
1ページ)の角無をチエツクすると共に、この1ページ
が上限アドレス記憶部16Bに記憶されているアドレス
以上か否か比較される(ステップC22)。このとき上
限アドレス記憶部16Bには、1ページに対するアドレ
スか記憶されているので、ステップC22の1゛す断結
果はYESとなり、ステップC23において項1−I 
Cの1ページが指定されてその表データ「北南高校」が
演算・比較部18に読出され(ステップC24)、入力
データ「北南高校」と−数比較される(ステップC25
)。この結果、演算・比較部18から一致信号が出力さ
れ、ステップC2Gにおいて指定ページ(2ページ)の
最終アドレスが11F人アドレス記憶部16Aに書込ま
れる。更に指定ページの先頭アドレスが上限アドレス記
憶部16Bに書込まれる(ステップC35)。上記のよ
うにして同一学校名に対するまとめ処理が行なわれる。
In other words, if the data of Hokuma High School in Hokkaido is entered in the 4th page [1], if item C is specified after completing the sorting process in the registration process of FIG. 8, step C2
0, the table data "Hokuma High School" is input to the calculation/comparison section 18. Next, in step C21, it is checked whether the previous page (page 2) corresponding to the designated address has G or not, or in this case, it is determined that there is a previous page, and the process proceeds to step C22. In this step C22, it is determined whether or not the previous page address is greater than or equal to the address stored in the upper limit address storage section 16B. In step C23), input the table data of designation type III on the previous page, ``Kita 1α School'', into the calculation/comparison section 18, and input the above input data ``Kita-Minami High School''. Compare and determine whether they are the same (step C25). In this case, since there is no match, the process returns to step C2+. At this time, the page specified address is set to "-1", and step C
In 2+, the page before this page specified address (
1 page) is checked, and it is compared whether this 1 page has an address greater than or equal to the address stored in the upper limit address storage section 16B (step C22). At this time, the upper limit address storage unit 16B stores an address for one page, so the answer to step C22 is YES, and step C23 proceeds to item 1-I.
One page of C is specified, and its tabular data "Kitanan High School" is read out to the calculation/comparison section 18 (step C24), and compared with the input data "Kitanan High School" by a negative number (step C25).
). As a result, a coincidence signal is output from the calculation/comparison section 18, and the final address of the designated page (page 2) is written into the 11F person address storage section 16A in step C2G. Furthermore, the start address of the designated page is written into the upper limit address storage section 16B (step C35). The grouping process for the same school name is performed as described above.

その後、ステップC30において、指定アドレスに対す
る前ページ(1ページ)の有無がチエツクされるが、こ
の場合には前ページありと1゛11断されてステップC
31に進む。このステップC31では、前ページアドレ
スが上限アドレス記憶部16Bに記憶しているアドレス
以上か否かを判断し、すなわち、北南高校のソート範囲
内か否かを判断し、範囲内であれば前ページの指定項目
の表データをアドレス指定しくステップC32)、指定
類11 Cの表データ、「北海凸校」を演算・比較部1
8に入力しくステップC33)  上記入力データ「北
南高校」と同じか盃かを比較111断する(ステップC
34)。一致している場合は、指定ページの5’Q D
nアドレスか上限アドレス記t8部16Bに書込まれ(
ステップC35)、その後、ステップC30に反る。
Thereafter, in step C30, the presence or absence of the previous page (1 page) for the specified address is checked, but in this case, it is determined that there is a previous page, and step C30 is performed.
Proceed to step 31. In step C31, it is determined whether the previous page address is greater than or equal to the address stored in the upper limit address storage section 16B, that is, it is determined whether or not it is within the sorting range of Kitanan High School, and if it is within the range, the previous page address is determined. Address the table data of the specified item on the page Step C32), calculate and compare the table data of specified class 11 C, "Hokkai Convex School"
8. Step C33) Compare 111 to determine whether it is the same as the input data "Kokunan High School" or a cup (Step C33).
34). If they match, 5'Q D of the specified page
n address or is written in upper limit address register t8 section 16B (
Step C35), and then warping to step C30.

このときページ指定アドレスが「−1」され、ステップ
C30以下の動作が繰り返される。これにより同一高校
名の指定ページの先頭アドレスが上限アドレス記憶部1
6Bに設定される。
At this time, the page designation address is set to "-1" and the operations from step C30 onwards are repeated. As a result, the top address of the specified page with the same high school name is the upper limit address storage unit 1.
It is set to 6B.

そして、ステップC30て前ページ無しと判断された場
合、ステップC31,C34においてNoと判断された
場合にステップC27に戻って次項口データの有無がチ
エツクされ、ステップC29において、次項口りか指定
される。更にステップC17,C1g。
Then, if it is determined in step C30 that there is no previous page, and if it is determined No in steps C31 and C34, the process returns to step C27 to check whether there is next page data, and in step C29, the next page is specified. . Furthermore, steps C17 and C1g.

C19を経てステップC20に進み、上記学校名の場合
と同様にして生徒氏名に対するまとめ処理が行なわれる
Proceeding to step C20 via C19, the grouping process for student names is performed in the same manner as in the case of school names.

その後、ステップC27において、次項ロデータ無しと
判断されると、ステップC2gに進んで入力・親集デー
タ記憶部14の記憶データが表データ記憶部15に送ら
れ、Jrp人アドアドレス記憶部16A憶しているアド
レスに従って表データ記憶エリア23に書込まれる。
Thereafter, in step C27, if it is determined that there is no data for the next item, the process proceeds to step C2g, where the data stored in the input/collection data storage section 14 is sent to the table data storage section 15, and the stored data is stored in the Jr. address storage section 16A. The data is written to the table data storage area 23 according to the address.

しかして、上記のデータ入力に際しては、すでに表デー
タ記憶部15に登録されているデータを利用することが
できる。例えば4ページまでのデータ入力を終了して5
ページ目に「東京」の「西東京学園」のデータを入力す
る場合、4ページのデータ入力終了後に「実行」キーを
操作すると、第6図のフローチャートに示す入力処理動
作が行なわれる。まず、先頭順[Aのアドレスが指定さ
れ(ステップAI)、続いて属性データが属性データ判
断部17に読出される(ステップA2)。
Therefore, when inputting the above data, data already registered in the table data storage section 15 can be used. For example, after completing data entry for up to 4 pages,
When inputting data for "Nishitokyo Gakuen" in "Tokyo" on page 1, if the "execute" key is operated after data entry for the fourth page is completed, the input processing operation shown in the flowchart of FIG. 6 is performed. First, the address of the first [A] is specified (step AI), and then the attribute data is read out to the attribute data determination section 17 (step A2).

次いでステップA3を経てステップA4進み、項目名「
都道府県名」が表示データ記憶部19に読出され、表示
部20に「都道府県名?」が表示され(第3図(s))
 、キー入力待ちの状態となる(ステップA6)。この
状態でカーソルキーを操作すると、このカーソルキーの
操作がステップA7で判別され、ステップAllに進む
。このステップAllでは、先頭ページの指定項目Aの
表アドレスが指定され、データのV−T無がチエツク(
ステップA12)されるが、1ページの項目Aにはデー
タが記憶されているので、その記憶データ「北海道」が
入力バッファ13及び表示データ記憶部19に読出され
(ステップA13. A14) 、表示部20に表示さ
れる(第3図(t))。なお、上記ステップA12でデ
ータ無しと?II ItLrされた場合には、「該当な
し」の表示データが表示データ、;C!憶部19へ送ら
れ、表示部20に表示される(ステップA15)。そし
て、上記の表示状態で次のキー入力が行なわれるまで待
機する(ステップA 18)。
Next, proceed to step A3, step A4, and enter the item name "
"Prefecture name" is read out to the display data storage section 19, and "Prefecture name?" is displayed on the display section 20 (FIG. 3(s)).
, enters a state of waiting for key input (step A6). If a cursor key is operated in this state, the operation of this cursor key is determined in step A7, and the process proceeds to step All. In this step All, the table address of specified item A on the first page is specified, and the absence of V-T of the data is checked (
However, since data is stored in item A of the first page, the stored data "Hokkaido" is read out to the input buffer 13 and the display data storage section 19 (steps A13 and A14), and the display section 20 (Fig. 3(t)). In addition, if there is no data in step A12 above? II ItLr, the display data of "Not applicable" is the display data, ;C! The data is sent to the storage section 19 and displayed on the display section 20 (step A15). Then, it waits in the above display state until the next key input is performed (step A18).

上記「北海道」が表示部20に表示された際、この表示
データが入力したいデータであれば、「次項「1/登録
」キー、入力したいデータと5′コなっている場合には
カーソルキー、操作ミスの場合であれば「解除」キーを
操作する。これらのキー操作内容は、ステップAI7で
判別され、次項口/登録」キーが1−ψ作され場合には
ステップA9、カーソルキーが(・k作された場合には
ステップA18の処理を行ない、「触除」キーが操作さ
れた場合にはステップA6に戻って次のキー入力に両え
る。ステップA1gでは、カーソルキーの操作に応じて
次ページあるいは前ページの指定項11にχ・Iする表
データアドレスを指定する。すなわち、上方向を示すカ
ーソルキー△が操作された場合には前ページの指定項目
に対する表データアドレスを指定し、下方向を示すカー
ソルキーがtX作された場合には次ページの指定項目に
対する表データアドレスを指定する。この例では「東京
」を入力したいので、カーソルキーを操作する。これに
より次ページの指定項目に対する表データアドレスが指
定され、その後、上記ステップA12以降の処理が繰り
返されて2ページの都道H二f県名「北海道」が表示部
20に表示される。その後、更にカーソルキーを2回操
作することによって、4ページに記憶されている都道府
県名「東京」が入力バッファ13及び表示データ記憶部
19に読出され、表示部20に表示される(第3iff
l (u) )。
When the above "Hokkaido" is displayed on the display section 20, if this displayed data is the data you want to input, press the "Next item 1/Register" key, or if it is 5' from the data you want to input, press the cursor key. If it is an operation error, operate the "release" key. The content of these key operations is determined in step AI7, and if the "next entry/registration" key is pressed 1-ψ, step A9 is performed, and if the cursor key is pressed (-k, step A18 is performed, If the "touch/remove" key is operated, the process returns to step A6 and the next key input is completed.In step A1g, the specified item 11 of the next page or previous page is selected depending on the cursor key operation. Specifies the table data address.In other words, when the cursor key △ indicating the upward direction is operated, the table data address for the specified item on the previous page is specified, and when the cursor key indicating the downward direction is operated tX, the table data address is specified for the specified item on the previous page. Specify the table data address for the specified item on the next page.In this example, you want to input "Tokyo", so operate the cursor keys.This specifies the table data address for the specified item on the next page, and then step A12 The following process is repeated and the prefecture name "Hokkaido" on page 2 is displayed on the display unit 20. Thereafter, by operating the cursor key twice, the prefecture name stored on page 4 is displayed. The prefecture name "Tokyo" is read into the input buffer 13 and the display data storage section 19, and displayed on the display section 20 (third if
l(u)).

この状態で「次項口/登録」キーを1・ψ作すると、入
力バッファ13に保持されているデータ「東京」が入力
・綿実データ記憶部14に転送される(ステップA9)
。これにより都道府県名「東京」のデータ入力を終了す
る。
In this state, when the "Next entry/registration" key is pressed 1/ψ, the data "Tokyo" held in the input buffer 13 is transferred to the input/cotton seed data storage section 14 (step A9).
. This completes the data input for the prefecture name "Tokyo".

その後、ステップA25−A2G−A2−A3−A5−
A4の処理により次項DBの項「1名F都市コード」が
表示データ記ta部1つに、売出され、表示部20に次
の入力をガイドする「都市コード?」が表示される(第
3図(V))。上記のように入力しようとするデータと
同じデータかすでに登録されている場合には、その登録
データを利用してデータ入力を行なうことができる。
Then, step A25-A2G-A2-A3-A5-
As a result of the process in A4, the item "1 person F city code" of the next item DB is placed in one display data record section ta, and "city code?" is displayed on the display section 20 to guide the next input (third Figure (V)). If the same data as the data to be input is already registered as described above, the registered data can be used to input the data.

[発明の効果] 以上詳記したように本発明によれば、表中に1世定され
た項目に対して数式を設定し、数式1没定かなされてい
ない各項1]に対する欄にデータを入力すると、その後
、数式設定がなされた項[]を険相して予め設定されて
いる数式に扛づくl寅算を行ない、上記検知された項目
に対する欄に上記演算粘果を入力するようにしたので、
項[1にχ・Jする数式を設定するのみで、各集計欄に
演算拮果を入力することかでき、数式の設定が非)Kに
簡1iになる。
[Effects of the Invention] As detailed above, according to the present invention, formulas are set for items that have been determined for the first time in the table, and data are entered in the columns for formula 1 for each item that has not been determined. When you input the formula, the term [] for which the formula has been set is compared to the preset formula to perform a calculation, and the result of the calculation is entered in the column for the detected item. So,
By simply setting a formula for calculating χ·J in the term [1, you can enter the antagonism of the operation in each total column, making setting the formula as simple as 1i.

4、図]fjの簡t1iな説明 図dtjは本発明の一実施例を示すもので、第1図は四
路構成を示すブロック図、第2図は第1図における表デ
ータ記憶部の記憶構成を示す図、第3図はキー入力操作
例と表示内容との対応関係を示す図、第4図は表の作成
例を示す図、第5図(a)〜(d)は表データ入力に伴
うソート及びまとめ処理を示す国、第6図は入力処理を
示すフローチャート、第7図は表示処理の詳細を示すフ
ローチャート、第8図は登録処理の詳細を示すフローチ
ャートである。
4, Fig. dtj is a simple explanatory diagram of fj showing one embodiment of the present invention. Fig. 1 is a block diagram showing a four-way configuration, and Fig. 2 is a storage diagram of the tabular data storage unit in Fig. 1. Figure 3 is a diagram showing the correspondence between key input operation examples and display contents. Figure 4 is a diagram showing an example of table creation. Figures 5 (a) to (d) are table data input. 6 is a flowchart showing the input processing, FIG. 7 is a flowchart showing details of the display processing, and FIG. 8 is a flowchart showing details of the registration processing.

11・・・制御部、12・・・キー入力部、13・・・
入力バッファ、14・・・入力・綿実データ記憶部、1
5・・・表データ記憶部、16・・・アドレス制御部、
16a・・・挿入アドレス記憶部、16b・・・上陽ア
ドレス記憶部、17・・・属性データ判断部、18・・
・清算・比較部、19・・・表示データ記憶部、20・
・・表示部、21・・・表インデックス記憶エリア、2
2・・・項ロデータ、τ己憶エリア、23・・・表デー
タ5己憶エリア。
11...Control unit, 12...Key input unit, 13...
Input buffer, 14... Input/cotton seed data storage section, 1
5...Table data storage unit, 16...Address control unit,
16a... Insert address storage unit, 16b... Upper address storage unit, 17... Attribute data determination unit, 18...
- Clearing/comparison section, 19...Display data storage section, 20.
...Display section, 21...Table index storage area, 2
2... Item ro data, τ self-memory area, 23... Table data 5 self-memory area.

Claims (1)

【特許請求の範囲】 1又は複数の項目を設定する手段と、 この手段により設定された項目の任意の項目に対し数式
を設定する数式設定手段と、 数式設定がなされていない各項目に対してデータを入力
する手段と、 上記数式設定手段により数式設定がなされた項目を検知
する検知手段と、 上記設定された数式に基づく演算を行なう手段と、 上記検知手段により検知された項目に対し上記演算結果
を入力する手段 とを具備したことを特徴とする表データ処理装置。
[Claims] Means for setting one or more items; A formula setting means for setting a formula for any of the items set by this means; For each item for which no formula has been set. means for inputting data; detection means for detecting items for which formulas have been set by the formula setting means; means for performing calculations based on the set formulas; and calculations for the items detected by the detection means. 1. A tabular data processing device, comprising: means for inputting results.
JP1195652A 1989-07-28 1989-07-28 Table data processor Pending JPH0359764A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP1195652A JPH0359764A (en) 1989-07-28 1989-07-28 Table data processor
EP19900114367 EP0410452A3 (en) 1989-07-28 1990-07-26 Data totaling apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1195652A JPH0359764A (en) 1989-07-28 1989-07-28 Table data processor

Publications (1)

Publication Number Publication Date
JPH0359764A true JPH0359764A (en) 1991-03-14

Family

ID=16344735

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1195652A Pending JPH0359764A (en) 1989-07-28 1989-07-28 Table data processor

Country Status (1)

Country Link
JP (1) JPH0359764A (en)

Similar Documents

Publication Publication Date Title
JP5087273B2 (en) Configurable information identification system and method
US6525716B1 (en) Handwritten data input device having coordinate detection tablet
JP6213089B2 (en) Speech learning support apparatus, speech learning support method, and computer control program
CN110059636B (en) Method and system for checking and correcting learning homework of students
CN114461808A (en) Knowledge graph establishing system and knowledge graph establishing method
TW530223B (en) Chinese phonetic input system having functions of incomplete spelling and fuzzy phonetic comparing, and the method thereof
US20090228794A1 (en) Business specification comprehension assistance system and method
JPH10154069A (en) Application starter system based on input data
JPH04326451A (en) Portable information terminal equipment
US20030163782A1 (en) Form data entry system
JPH1040247A (en) Data processor
JPH0359764A (en) Table data processor
JP2004145732A (en) Voice identification support chinese character input system and method
JPH07234874A (en) Electronic dictionary with word book function
CN111858622A (en) Multi-intention sorting method and device based on quality propagation and storage medium
JP2000181918A (en) Multimedia english/japanese dictionary showing meaning/ pronunciation to english word inputted by handwriting
US20100169768A1 (en) Spell Checker That Teaches Rules of Spelling
JP3972870B2 (en) Information display control device, server, and program
JP2859979B2 (en) How to search for Kanji
JPH0359765A (en) Table data processor
JPH09185627A (en) Electronic dictionary with word directory function
JPS60135983A (en) Electronic learning apparatus
JPH0644278A (en) Table data processor
JP6446801B2 (en) Display control apparatus and program
JPH09146892A (en) Electronic equipment