JPH0568736B2 - - Google Patents

Info

Publication number
JPH0568736B2
JPH0568736B2 JP62133691A JP13369187A JPH0568736B2 JP H0568736 B2 JPH0568736 B2 JP H0568736B2 JP 62133691 A JP62133691 A JP 62133691A JP 13369187 A JP13369187 A JP 13369187A JP H0568736 B2 JPH0568736 B2 JP H0568736B2
Authority
JP
Japan
Prior art keywords
range
search
cursor
calculation
processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP62133691A
Other languages
Japanese (ja)
Other versions
JPS63298566A (en
Inventor
Yoshihiro Arakawa
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP62133691A priority Critical patent/JPS63298566A/en
Publication of JPS63298566A publication Critical patent/JPS63298566A/en
Publication of JPH0568736B2 publication Critical patent/JPH0568736B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】 〔概要〕 指定範囲内の計算処理または手順繰り返し処理
機能を有するデータ処理システムにおいて、従
来、利用者がカーソルを移動させることによつ
て、計算範囲または繰り返し範囲を指定していた
が、その範囲の終点が特定の文字(罫線を含む)
で明確化されている場合に、その終点の文字を指
定させることにより、終点の文字を検索して、自
動的に対象範囲を決定し、範囲指定に関する操作
性を向上させている。
[Detailed Description of the Invention] [Summary] Conventionally, in a data processing system having a calculation processing or procedure repetition processing function within a specified range, a user specifies a calculation range or a repetition range by moving a cursor. but the end point of the range is a specific character (including borders)
By specifying the end point character when the end point is specified, the end point character is searched and the target range is automatically determined, improving the operability of range specification.

〔産業上の利用分野〕 本発明は、計算機能を有するワードプロセツサ
などのデータ処理システムに係り、合計機能の合
計範囲の終点指定、表計算における計算範囲の終
点指定、手順登録時における細目手順の繰り返し
範囲の終点指定などを簡単に行うことができるよ
うにした計算/繰り返し範囲自動検索処理方式に
関するものである。
[Industrial Field of Application] The present invention relates to a data processing system such as a word processor having a calculation function, and is capable of specifying the end point of a total range in a total function, specifying the end point of a calculation range in a spreadsheet, and specifying detailed procedures at the time of procedure registration. This invention relates to a calculation/repetition range automatic search processing method that allows easy specification of the end point of a repeat range.

ワードプロセツサ等では、その普及に伴い、高
度な処理機能を持つものが要求され、合計計算や
表計算などを、できるだけ簡単な操作で、迅速に
実現できるようにすることが望まれている。
With the spread of word processors, there is a demand for advanced processing functions, and it is desired to be able to perform total calculations, spreadsheet calculations, etc. as quickly and as easily as possible.

〔従来の技術〕[Conventional technology]

ワードプロセツサ等においては、デイスプレイ
画面上のカーソルを移動させ、文字、数値、罫線
などを記入していく。このようにして記入された
数値の並びについて、合計計算や表計算をできる
ようにしたものがある。また、計算の手順を登録
可能としたものがあり、その中では、細目手順を
範囲または回数の指定により、繰り返すことがで
きるようになつている。
In a word processor or the like, characters, numbers, ruled lines, etc. are entered by moving the cursor on the display screen. There are devices that allow total calculations and spreadsheets to be performed on the array of numerical values entered in this way. In addition, there are systems that allow calculation procedures to be registered, and among them, detailed procedures can be repeated by specifying a range or number of times.

このような合計計算、表計算または手順繰り返
しの範囲指定では、どの範囲までを処理対象にす
るかを指定する必要があるが、従来方式によれ
ば、最初にカーソルを指定範囲の先頭に合わせて
おき、機能選択後に、利用者が、カーソル・キー
によつてカーソルを1文字ずつ縦または横に移動
させ、範囲の終点をカーソルの位置によつて指定
するようにされていた。
When specifying a range for such total calculations, spreadsheet calculations, or procedure repetitions, it is necessary to specify the range to be processed, but according to the conventional method, the cursor is first placed at the beginning of the specified range. After selecting a function, the user moves the cursor vertically or horizontally one character at a time using the cursor keys, and specifies the end point of the range by the position of the cursor.

例えば、合計計算では、計算モードのときに合
計キーを押すと、画面下に「合計〜」のガイドが
表示され、合計計算したい範囲を利用者がカーソ
ルを動かして指定する。また、表計算では、計算
モードのときに表計算キーを押すと、画面下に表
計算のガイドが表示され、次に表計算の種類が選
択されると、表計算の範囲指定に入り、利用者が
カーソル・キーでカーソルを移動させて範囲を指
定する。
For example, when calculating a total, when the user presses the total key while in calculation mode, a ``total~'' guide is displayed at the bottom of the screen, and the user moves the cursor to specify the range for which the user wants to calculate the total. In addition, when using a spreadsheet, if you press the spreadsheet key while in calculation mode, a spreadsheet guide will be displayed at the bottom of the screen, and when the type of spreadsheet is selected, you will be able to specify the range of the spreadsheet and use it. The person specifies the range by moving the cursor using the cursor keys.

また、手順登録時における繰り返し範囲指定の
ときには、1つの細目手順を実行後、繰り返し指
定で、回数ではなく範囲指定を選択し、細目手順
を繰り返したい範囲について、利用者がカーソル
を動かして指定する。
In addition, when specifying a repeat range when registering a procedure, after executing one sub-step, the user selects range specification instead of the number of times in the repeat specification, and moves the cursor to specify the range in which the sub-step is to be repeated. .

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来の合計機能、表計算機能の範囲指定または
手順繰り返し範囲指定では、範囲指定の際、カー
ソル移動で範囲を指定するようになつているた
め、範囲の終点がはつきり利用者にわかつていて
も、利用者がその都度カーソル移動で範囲を指定
しなければならないため、操作が煩わしいという
問題があつた。
In the conventional total function, spreadsheet function range specification or step repeat range specification, when specifying a range, the range is specified by moving the cursor, so the end point of the range is stuck and the user is confused. However, the user had to specify the range by moving the cursor each time, which caused the problem of cumbersome operation.

特に、計算/繰り返しの範囲が小さい場合に
は、比較的迅速にその範囲を指定することができ
るが、範囲が大きく、その終点がデイスプレイ画
面の外にある場合には、カーソル移動に伴つて画
面スクロールが行われ、現在のカーソル位置を人
間が確認するのに時間がかかるという問題もあ
る。
In particular, if the calculation/repetition range is small, you can specify the range relatively quickly, but if the range is large and its end point is outside the display screen, the screen may There is also the problem that scrolling occurs and it takes time for a human to check the current cursor position.

本発明は上記問題点の解決を図り、範囲の終点
を示す文字がはつきりしている場合に、簡単かつ
迅速に計算/繰り返し範囲を指定できるようにす
る手段を提供することを目的としている。
The present invention aims to solve the above-mentioned problems and provides a means for easily and quickly specifying a calculation/repetition range when the characters indicating the end point of the range are displayed. .

〔問題点を解決するための手段〕[Means for solving problems]

第1図は本発明の基本構成例を示す。 FIG. 1 shows an example of the basic configuration of the present invention.

第1図において、10はCPUおよびメモリな
どからなる処理装置、11はデイスプレイ、12
は画面における操作位置を示すカーソル、13は
キーボード、14はフロツピイデイスクなどの外
部記憶装置、15は範囲指定入力処理部、16は
検索処理部、17は検索方向を調べる検索方向判
定部、18はカーソルを移動させるカーソル移動
部、19は検索文字とカーソル位置の文字を比較
する文字比較部、20はデイスプレイ画面の表示
に対応する文字コードが格納されるテキスト・バ
ツフア、21は指定された範囲の合計計算を行う
合計計算処理部、22は指定された範囲の表計算
を行う表計算処理部、23は指定された範囲につ
いての手順繰り返し情報を登録する手順繰り返し
登録処理部を表す。
In FIG. 1, 10 is a processing unit consisting of a CPU and memory, 11 is a display, 12
13 is a keyboard, 14 is an external storage device such as a floppy disk, 15 is a range specification input processing unit, 16 is a search processing unit, 17 is a search direction determination unit that checks the search direction, 18 is a cursor moving part for moving the cursor; 19 is a character comparison part for comparing the search character with the character at the cursor position; 20 is a text buffer in which a character code corresponding to the display on the display screen is stored; 21 is a designated character code. 22 represents a spreadsheet processing unit that performs spreadsheet calculations for a specified range; and 23 represents a procedure repetition registration processing unit that registers procedure repetition information for the specified range.

範囲指定入力処理部15は、合計計算、表計算
などの計算処理または手順繰り返し処理の対象と
なる範囲の終点を示す文字または罫線情報を入力
する処理を行うものである。
The range specification input processing unit 15 performs a process of inputting characters or ruled line information indicating the end point of a range to be subjected to calculation processing such as total calculation or spreadsheet calculation or procedure repetition processing.

検索処理部16は、範囲指定入力処理部15に
より入力した文字または罫線を、デイスプレイ画
面の表示に対応するコードが格納されたテキス
ト・バツフア20上で検索し、その検索された文
字の位置を、指定範囲の終点として、計算処理ま
たは手順繰り返し処理の対象となる範囲を決定す
る処理を行うものである。検索処理部16におい
て、検索方向判定部17は、指定された範囲の終
点が上下・左右などのどの方向にあるかを判定す
る。カーソル移動部18は、文字検索にあたつ
て、自動的にカーソル位置を進める処理を行う。
文字比較部19は、進められたカーソル位置にお
ける文字と、指定された文字(罫線を含む)とを
比較する。文字が一致するときに、検索処理部1
6は、その位置を範囲の終点として認識し、それ
によつて決定された範囲を、例えば、続く実行キ
ーの入力により、合計計算処理部21、表計算処
理部22、手順繰り返し登録処理部23等に通知
する。
The search processing unit 16 searches for the characters or ruled lines input by the range specification input processing unit 15 on the text buffer 20 in which codes corresponding to the display on the display screen are stored, and determines the position of the searched characters. This process determines the range to be subjected to calculation processing or procedure repetition processing as the end point of the specified range. In the search processing unit 16, the search direction determination unit 17 determines in which direction, such as up and down or left and right, the end point of the specified range is located. The cursor moving unit 18 automatically advances the cursor position when searching for characters.
The character comparison unit 19 compares the character at the advanced cursor position with the specified character (including ruled lines). When the characters match, search processing unit 1
6 recognizes that position as the end point of the range, and the determined range is processed by, for example, the total calculation processing unit 21, the spreadsheet processing unit 22, the procedure repetition registration processing unit 23, etc. by inputting a subsequent execution key. Notify.

キーボード13には、合計計算処理部21、表
計算処理部22、手順繰り返し登録処理部23等
による各処理機能を選択する機能キーの他に、範
囲指定における文字検索を指定するための機能キ
ー、例えば計算検索キーが設けられる。この計算
検索キーの押下により、範囲指定入力処理部15
が起動されるようになつている。
The keyboard 13 includes function keys for selecting each processing function by the total calculation processing section 21, spreadsheet processing section 22, procedure repetition registration processing section 23, etc., as well as function keys for specifying character search in range specification. For example, a calculation search key is provided. By pressing this calculation search key, the range specification input processing unit 15
is starting to be started.

〔作用〕[Effect]

本発明は、一般に合計範囲、表計算範囲、手順
繰り返し範囲などの最後の位置には、立と異なる
特定の文字または罫線パターンが用いられること
に着目して、その文字または罫線を入力すること
により、カーソルを移動させなくても範囲の終点
を指定できるようにしたものである。
The present invention focuses on the fact that a specific character or ruled line pattern that is different from vertical is generally used at the last position of a total range, a spreadsheet range, a procedure repetition range, etc., and by inputting that character or ruled line. , which allows you to specify the end point of a range without moving the cursor.

キーボード13から計算検索キーが入力される
と、範囲指定入力処理部15は、検索する文字
(罫線)および検索方向等の情報をキーボード1
3から入力し、検索処理部16に通知する。検索
処理部16は、検索方向判定部17の判定結果に
従つて、カーソル移動部18により、カーソルを
自動的に移動させ、文字比較部19により、検索
文字の比較を行う。これにより、範囲の終点週を
自動的に探し出す。
When a calculation search key is input from the keyboard 13, the range specification input processing unit 15 inputs information such as search characters (ruled lines) and search direction to the keyboard 13.
3 and notifies the search processing unit 16. The search processing section 16 uses the cursor moving section 18 to automatically move the cursor according to the determination result of the search direction determining section 17, and the character comparison section 19 compares the search characters. This automatically searches for the end week of the range.

〔実施例〕〔Example〕

第2図は本発明の一実施例に係る検索範囲説明
図、第3図は本発明の一実施例に係る表計算範囲
指定説明図、第4図は本発明の一実施例に係る繰
り返し範囲指定説明図、第5図は本発明の一実施
例ブロツク図、第6図は本発明の一実施例におけ
る範囲指定入力処理説明図、第7図は本発明の一
実施例における検索処理説明図、第8図は本発明
の一実施例に係る表示例を示す。
FIG. 2 is an explanatory diagram of a search range according to an embodiment of the present invention, FIG. 3 is an explanatory diagram of spreadsheet range specification according to an embodiment of the present invention, and FIG. 4 is a repeating range according to an embodiment of the present invention. 5 is a block diagram of an embodiment of the present invention, FIG. 6 is a diagram illustrating range designation input processing in an embodiment of the present invention, and FIG. 7 is a diagram illustrating search processing in an embodiment of the present invention. , FIG. 8 shows a display example according to an embodiment of the present invention.

例えば合計計算では、左右の横方向についての
合計、左下の縦方向についての合計または文末ま
での合計を指定できるようになつている。
For example, when calculating a total, it is possible to specify the total for the left and right horizontal directions, the vertical total for the bottom left, or the total up to the end of the sentence.

第2図イ図示のように、デイスプレイの画面3
0において、現在のカーソル12の位置から終点
Eまで、横方向の合計を行いたい場合には、検索
文字として、終点Eにある「‖」を指定し、検索
方向を右方向を示す「→」とする。これにより、
カーソルを利用者が移動させることなく、図に斜
線で示した範囲を合計計算の範囲として指定する
ことができる。
As shown in Figure 2A, the display screen 3
0, if you want to perform horizontal totals from the current cursor 12 position to the end point E, specify "‖" at the end point E as the search character, and set the search direction to "→", which indicates the right direction. shall be. This results in
The shaded range in the diagram can be specified as the range for total calculation without the user having to move the cursor.

縦方向の合計を行いたい場合には、第2図ロ図
示のように、終点Eにある罫線「=」を指定し、
検索方向を下方向に示す「↓」とする。これによ
り、点線の矢印で示した方向への文字検索が行わ
れ、終点Eが検出されて、現在のカーソル12の
位置から終点Eまでの斜線部分が合計計算の範囲
となる。
If you want to perform a total in the vertical direction, specify the ruled line "=" at the end point E, as shown in Figure 2B.
The search direction is set to "↓" indicating downward. As a result, a character search is performed in the direction indicated by the dotted arrow, the end point E is detected, and the diagonally shaded area from the current position of the cursor 12 to the end point E becomes the range for total calculation.

また、現在のカーソル12の位置から文末まで
に現れる全部の数値を合計することを指示するこ
ともでき、この場合、第2図ハ図示のように、例
えば検索文字として、終点Eにある文字「〓」を
指定し、検索方向として「文末まで」を指定す
る。これにより、点線の矢印で示した方向につい
て文字検索が行われ、最終的に「〓」が検出され
て、図示斜線部分の全範囲が合計計算の範囲と決
定される。
It is also possible to instruct that all numerical values appearing from the current cursor 12 position to the end of the sentence are to be summed. In this case, as shown in FIG. 〓'' and specify ``to the end of the sentence'' as the search direction. As a result, a character search is performed in the direction indicated by the dotted arrow, and finally "〓" is detected, and the entire range of the diagonally shaded part shown in the figure is determined to be the range for total calculation.

表計算の場合、例えば第3図図示のように、表
の先頭にカーソル12を合わせ、表計算キーを押
す。次に例えば縦横計算を選択し、計算したい範
囲を指定する。この場合、従来と同様にカーソル
12をカーソル・キーによつて移動させて、終点
Eを指定してもよいが、本発明では、次のように
カーソル12を動かさないで終点Eを指定するこ
とができる。
In the case of spreadsheet calculation, for example, as shown in FIG. 3, the cursor 12 is placed at the beginning of the table and the spreadsheet key is pressed. Next, select the vertical/horizontal calculation, for example, and specify the range you want to calculate. In this case, the end point E may be specified by moving the cursor 12 using the cursor keys as in the past, but in the present invention, the end point E can be specified without moving the cursor 12 as follows. I can do it.

縦横計算を選択した後、計算検索キーを押す。
そして、終点Eにある文字「〓」に着目し、検索
文字として「〓」を指定する。これにより終点E
までの検索が行われ、カーソル12が自動的に終
点Eに位置付けられて、図示斜線部分が表計算の
対象となる。
After selecting the vertical and horizontal calculation, press the calculation search key.
Then, focusing on the character "〓" at the end point E, "〓" is designated as the search character. This allows the end point E
The search up to this point is performed, the cursor 12 is automatically positioned at the end point E, and the hatched area in the figure becomes the target of the spreadsheet calculation.

次に計算手順登録時における繰り返し範囲の指
定について、第4図に従つて説明する。
Next, the designation of the repetition range when registering the calculation procedure will be explained with reference to FIG.

計算手順登録時に、繰返キーを押す。その後、
繰り返したい1回分のオペレーシヨンを実行す
る。これにより、例えばカーソルは、カーソル1
2aの位置からカーソル12bの位置に移動す
る。ここでもう一度、繰返しキーを押すと、「繰
り返し指定1(1:範囲指定、2:回数指定)」
のガイドが表示される。そこで、「1」の範囲指
定を選択し、繰り返し範囲の終点Eを指定する。
そのとき、終点Eの文字(罫線を含む)が明確化
されていれば、その文字を計算検索キーを打鍵し
たのち入力し、範囲を指定する。これにより、終
点Eまで自動的にカーソルが移動され、繰り返し
範囲が決定される。
Press the repeat key when registering the calculation procedure. after that,
Execute the single operation you want to repeat. With this, for example, the cursor becomes cursor 1
2a to the cursor 12b. If you press the repeat key again, "Repeat specification 1 (1: range specification, 2: number of times specification)"
A guide will be displayed. Therefore, select the range designation "1" and designate the end point E of the repeating range.
At this time, if the character (including the ruled line) at the end point E has been clarified, the character is input after pressing the calculation search key to specify the range. As a result, the cursor is automatically moved to the end point E, and the repetition range is determined.

第5図は、本発明をワードプロセツサに適用し
た例を示している。第5図において、第1図と同
符号のものは第1図に示すものに対応する。40
は入力制御部、41はかな漢字変換部、42は文
書編集処理部、43は表示制御部、44はカーソ
ル制御部、45は計算処理部を表す。
FIG. 5 shows an example in which the present invention is applied to a word processor. In FIG. 5, the same reference numerals as in FIG. 1 correspond to those shown in FIG. 40
41 represents an input control section, 41 represents a short-hand kanji conversion section, 42 represents a document editing processing section, 43 represents a display control section, 44 represents a cursor control section, and 45 represents a calculation processing section.

キーボード13から漢字などの読みが入力さ
れ、変換キーが入力されると、かな漢字変換部4
1により、所定の辞書によるかな漢字変換処理が
行われ、変換結果が文書編集処理部42に通知さ
れる。文書編集処理部42は、結果を表示制御部
43を介してデイスプレイ11に表示し、文書を
作成すると共に、挿入、削除、複写、移動などの
機能キーの打鍵に対応して、それらに関連する文
書データの編集処理を行う。カーソル制御部44
は、カーソル・キーの打鍵などに対応して、カー
ソルを移動させる制御を行う。
When the reading of a kanji etc. is input from the keyboard 13 and a conversion key is input, the kana-kanji conversion section 4
1, a kana-kanji conversion process is performed using a predetermined dictionary, and the conversion result is notified to the document editing processing section 42. The document editing processing unit 42 displays the results on the display 11 via the display control unit 43 to create a document, and also edits related information in response to pressing function keys such as insert, delete, copy, and move. Performs document data editing processing. Cursor control section 44
controls the movement of the cursor in response to cursor keystrokes.

キーボード13から計算キーが入力されると、
計算処理部45が起動され、計算モードに入る。
ここで、第1図で説明した範囲指定入力処理部1
5、検索処理部16により、計算/繰り返し範囲
が決定され、指定された範囲の合計処理、表計算
処理、手順登録/実行処理などがなされる。終了
キーまたは計算キーの打鍵により、計算モードは
解除される。
When a calculation key is input from the keyboard 13,
The calculation processing unit 45 is activated and enters calculation mode.
Here, the range specification input processing section 1 explained in FIG.
5. The search processing unit 16 determines a calculation/repetition range, and performs total processing, spreadsheet processing, procedure registration/execution processing, etc. for the specified range. The calculation mode is canceled by pressing the end key or the calculation key.

合計計算における範囲指定入力処理部15の処
理は、例えば第6図に示すように行われる。以下
の説明における〜は、第6図に示す処理〜
に対応する。
The processing of the range designation input processing section 15 in the total calculation is performed, for example, as shown in FIG. 6. ~ in the following description refers to the process shown in FIG.
corresponds to

計算検索キーが押されると、オペレーシヨン
ガイドを表示し、検索方向を入力する。
When the calculation search key is pressed, the operation guide is displayed and the search direction is input.

次に検索文字種、即ち通常の文字を検索する
か、罫線を検索するかを入力する。
Next, input the search character type, that is, whether to search for regular characters or ruled lines.

検索文字種が、「罫線」であるか「文字」で
あるかを判定する。「文字」である場合、処理
へ制御を移す。
Determine whether the search character type is "ruled line" or "character". If it is a "character", control is transferred to processing.

検索時種が「罫線」である場合、罫線形を入
力する。
If the search type is "ruled line", enter the ruled line.

次に点線、通常の線、太線、二重線などの罫
線の種類を入力する。その後、処理へ制御を
移す。
Next, enter the type of border, such as dotted line, regular line, thick line, double line, etc. After that, control is transferred to processing.

検索文字種が「文字」である場合、文字を入
力する。なお、本実施例では、漢字指定なども
考慮し、いわゆる区点入力を可能としている。
If the search character type is "character", enter the character. In addition, in this embodiment, the so-called Kuten input is possible, taking into account the designation of kanji characters.

次に、検索文字の追加があるかどうかを判定
する。計算検索キーが再度打鍵された場合、検
索文字の追加を行うため、処理へ制御を戻
し、同様に処理を繰り返す。本実施例では、こ
れにより、複数の検索文字を対象として、指定
範囲の終点を指定することができるようになつ
ている。検索文字のどれか1つが現れた場合、
その位置を処理対象範囲の終点とする。
Next, it is determined whether or not a search character has been added. When the calculation search key is pressed again, control is returned to the process and the process is repeated in the same way in order to add search characters. In this embodiment, it is thereby possible to specify the end point of a specified range for a plurality of search characters. If any one of the search characters appears,
The position is set as the end point of the processing target range.

検索方向、検索文字を指定して、検索処理部
を呼び出す。
Specify the search direction and search characters and call the search processing section.

検索処理が終了したならば、検索が成功した
かどうか、即ち検索文字があつたかどうかを判
定する。検索が成功した場合、検索機能を解除
する。
When the search process is completed, it is determined whether the search was successful, that is, whether the search character was found. If the search is successful, cancel the search function.

検索が失敗した場合、検索開始位置にカーソ
ルを戻し、検索機能を解除して、最初の計算検
索キーを入力する前の状態にする。
If the search fails, return the cursor to the search start position, cancel the search function, and return to the state before entering the first calculation search key.

上記各処理において、終了キーが入力された場
合には、図示点線で示すように、その状態で検索
機能を解除する。また、取消キーが入直された場
合には、原則として1つ前の処理に制御を戻す。
In each of the above processes, when the end key is input, the search function is canceled in that state as shown by the dotted line in the figure. Furthermore, when the cancel key is pressed again, control is returned to the previous process in principle.

第6図に示す処理で呼び出される検索処理
は、例えば第7図に示すように行われる。以下の
説明における〜は、第7図に示す処理〜
に対応する。
The search process called in the process shown in FIG. 6 is performed, for example, as shown in FIG. ~ in the following description refers to the process shown in FIG.
corresponds to

まず、検索方向を判定し、左または右方向で
あれば処理以下を実行する。上または下方向
であれば、処理以下を実行する。文末方向の
指定であれば、処理以下を実行する。
First, the search direction is determined, and if the direction is left or right, the following steps are executed. If the direction is upward or downward, execute the following steps. If the direction toward the end of the sentence is specified, the following processing is executed.

検索方向が左/右方向である場合、デイスプ
レイ画面におけるカーソルがある行のテキスト
を、1行分読み込む。
When the search direction is left/right, one line of text on the line where the cursor is located on the display screen is read.

次にカーソルを1桁分、検索方向の左/右に
移動させる。
Next, move the cursor one digit to the left/right of the search direction.

カーソルが1行を左端または右端にきたかど
うかを判定する。もし、左端または右端に到達
した場合、検索不成功として、制御を呼び出し
元へ戻す。
Determine whether the cursor is at the left or right end of a line. If the left or right end is reached, the search is deemed unsuccessful and control is returned to the caller.

カーソル位置の文字と、指定された検索文字
とを比較する。
Compares the character at the cursor position with the specified search character.

カーソル位置の文字と検索文字とが同一であ
る場合、検索成功として、呼び出し元へ制御を
戻す。同一でない場合、処理へ制御を戻し、
同様に検索を繰り返す。
If the character at the cursor position is the same as the search character, the search is considered successful and control is returned to the caller. If they are not the same, return control to processing,
Repeat the search in the same way.

検索方向が上/下方向である場合、カーソル
を1行分、上または下に移動させる。
If the search direction is up/down, move the cursor one line up or down.

カーソルがある行のテキストを、1行分読み
込む。
Reads one line of text at the cursor.

カーソルが文書の先頭行または文末行にきた
かどうかを判定する。もし、先頭行または文末
行にきている場合、検索不成功として、制御を
呼び出し元へ戻す。
Determine whether the cursor is at the first line or the last line of the document. If the first line or the last line of the sentence is reached, the search is deemed unsuccessful and control is returned to the caller.

カーソル位置の文字と、指定された検索文字
とを比較する。
Compares the character at the cursor position with the specified search character.

カーソル位置の文字と検索文字とが同一であ
る場合、検索成功として、呼び出し元へ制御を
戻す。同一でない場合、処理へ制御を戻し、
同様に検索を繰り返す。
If the character at the cursor position is the same as the search character, the search is considered successful and control is returned to the caller. If they are not the same, return control to processing,
Repeat the search in the same way.

検索方向が文末方向である場合、カーソルが
ある行のテキストを、1行分読み込む。
If the search direction is toward the end of the sentence, one line of text on the line where the cursor is located is read.

次にカーソルを1桁分、右方向へ移動させ
る。
Next, move the cursor one digit to the right.

カーソルが文末にきたかどうかを判定する。
もし、文末にきた場合、検索不成功として、制
御を呼び出し元へ戻す。
Determine whether the cursor is at the end of the sentence.
If the end of the sentence is reached, the search is deemed unsuccessful and control is returned to the caller.

文末にきていない場合、カーソルがある行が
変わつたかどうかを判定する。前と同じである
場合、次の処理をスキツプする。
If the cursor is not at the end of the sentence, determine whether the line where the cursor is located has changed. If it is the same as before, skip the next process.

行が変わつた場合、カーソルがある新しい行
のテキストを、1行分読み込む。
If the line changes, read one line of text from the new line where the cursor is.

カーソル位置の文字と、指定された検索文字
とを比較する。
Compares the character at the cursor position with the specified search character.

カーソル位置の文字と検索文字とが同一であ
る場合、検索成功として、呼び出し元へ制御を
戻す。同一でない場合、処理へ制御を戻し、
同様に検索を繰り返す。
If the character at the cursor position is the same as the search character, the search is considered successful and control is returned to the caller. If they are not the same, return control to processing,
Repeat the search in the same way.

第8図は、上記処理におけるデイスプレイ画面
30への表示例を示している。
FIG. 8 shows an example of the display on the display screen 30 in the above process.

例えば、第8図イ図示のような表について、合
計計算機能を使用して、合計計算を行うとする。
計算キーにより、計算モードに入り、カーソル1
2の位置で合計キーを押すと、第8図ロ図示のよ
うに、「合計10〜」のガイドが表示される。次に、
本発明に係る検索機能を用いて、横方向の合計範
囲を指定するために、計算検索キーを押すと、第
8図ハ図示のように、検索方向の問い合わせがな
される。
For example, assume that the total calculation function is used to calculate the total for a table as shown in FIG. 8A.
Press the calculation key to enter calculation mode and move cursor 1
When the total key is pressed at position 2, the guide "Total 10 ~" is displayed as shown in FIG. 8B. next,
Using the search function according to the present invention, when the calculation search key is pressed to specify the total range in the horizontal direction, an inquiry about the search direction is made as shown in FIG. 8C.

ここで、右方向の範囲なので、「1(→)」を選
んで実行キーを押すと、第8図ニ図示のように、
検索方向「→」と、検索する文字の選択ガイドが
表示される。第8図イに示す表の数値「45」の右
にある「‖」を範囲の終点とするため、検索文字
として「1(罫線)」を選択して実行キーを押す
と、第8図ホ図示のように、罫線形の選択ガイド
が表示される。
Here, since the range is in the right direction, select "1 (→)" and press the execution key, as shown in Figure 8D.
The search direction "→" and a guide for selecting characters to search are displayed. To set "‖" to the right of the number "45" in the table shown in Figure 8 A as the end point of the range, select "1 (ruled line)" as the search character and press the Enter key. As shown, a ruled line selection guide is displayed.

ここでは、縦線を示す「1」の罫線形を選択す
る。これにより、第8図ヘに示すように、罫線種
の選択ガイドが表示される。ここでは、二重線を
示す「4」を選択し、実行キーを押す。
Here, the ruled line "1" indicating a vertical line is selected. As a result, a guide for selecting the type of ruled line is displayed as shown in FIG. Here, select "4" indicating a double line and press the execution key.

罫線種の入力により、第8図ト図示のように、
「‖」の検索文字が表示され、検索開始/検索文
字追加の選択ガイドが表示される。ここで別の文
字または罫線を検索対象に含める場合には、さら
に計算検索キーを押す。ここでは、検索文字は
「‖」だけでよいので、そのまま実行キーを押す。
これにより、第8図チ図示のように、検索状態に
なり、「‖」が検出された段階で、自動的に検索
機能が解除され、カーソル12は、第8図リに示
す位置に設定される。その後、合計計算の実行を
指定する実行キー入力待ちとなる。実行キーが押
されると、左側の「10」から右側の「45」までの
横方向の合計が計算結果として表示され、続く指
定キーの入力位置に、結果が設定される。
By inputting the ruled line type, as shown in Figure 8,
The search character "‖" is displayed, and a selection guide for starting the search/adding the search character is displayed. If you want to include other characters or ruled lines in the search, press the calculation search key again. Here, the search character only needs to be "‖", so just press the execute key.
As a result, the search state is entered as shown in FIG. Ru. Thereafter, the system waits for an execution key input to specify execution of the total calculation. When the execution key is pressed, the horizontal total from "10" on the left to "45" on the right is displayed as the calculation result, and the result is set at the input position of the subsequent specified key.

以上、合計計算機能における範囲指定の例につ
いて説明したが、表計算の範囲指定や手順繰り返
し範囲の指定についても同様に、検索文字によつ
て、範囲の終点を指定することができる。
An example of specifying a range in the total calculation function has been described above, but the end point of the range can be specified using search characters in the same way when specifying a range in a spreadsheet or specifying a procedure repeat range.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれば、指定範
囲の終了点が利用者にわかつている場合に、その
位置までカーソル・キーなどにより、カーソルを
移動させなくても、検索機能によつて範囲の終点
をダイレクトに指定し、自動的にその位置までカ
ーソル移動を行わせて範囲を決定できるようにな
る。従つて、迅速かつ簡単な範囲の指定が可能に
なる。
As explained above, according to the present invention, when the user knows the end point of a specified range, the search function can be used to search the range without moving the cursor to that position using the cursor keys or the like. You can now directly specify the end point of the area and automatically move the cursor to that position to determine the range. Therefore, it is possible to specify a range quickly and easily.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の基本構成例、第2図は本発明
の一実施例に係る検索範囲説明図、第3図は本発
明の一実施例に係る表計算範囲指定説明図、第4
図は本発明の一実施例に係る繰り返し範囲指定説
明図、第5図は本発明の一実施例ブロツク図、第
6図は本発明の一実施例における範囲指定入力処
理説明図、第7図は本発明の一実施例における検
索処理説明図、第8図は本発明の一実施例に係る
表示例を示す。 図中、10は処理装置、11はデイスプレイ、
12はカーソル、13はキーボード、14は外部
記憶装置、15は範囲指定入力処理部、16は検
索処理部、17は検索方向判定部、18はカーソ
ル移動部、19は文字比較部、20はテキスト・
バツフア、21は合計計算処理部、22は表計算
処理部、23は手順繰り返し登録処理部を表す。
FIG. 1 is an example of the basic configuration of the present invention, FIG. 2 is an explanatory diagram of a search range according to an embodiment of the present invention, FIG. 3 is an explanatory diagram of spreadsheet range specification according to an embodiment of the present invention, and FIG.
5 is a block diagram of an embodiment of the present invention; FIG. 6 is an explanatory diagram of range specification input processing in an embodiment of the present invention; FIG. 8 is an explanatory diagram of search processing in an embodiment of the present invention, and FIG. 8 shows an example of display according to the embodiment of the present invention. In the figure, 10 is a processing device, 11 is a display,
12 is a cursor, 13 is a keyboard, 14 is an external storage device, 15 is a range specification input processing section, 16 is a search processing section, 17 is a search direction determination section, 18 is a cursor movement section, 19 is a character comparison section, and 20 is text・
21 represents a total calculation processing section, 22 represents a spreadsheet processing section, and 23 represents a procedure repetition registration processing section.

Claims (1)

【特許請求の範囲】 1 デイスプレイ画面に表示された数値の並びに
関する指定範囲内の計算処理または手順繰り返し
処理機能を有するデータ処理システムにおいて、 上記計算処理または手順繰り返し処理の対象と
なる範囲の終点を示す文字または罫線情報を入力
する範囲指定入力処理手段15と、 該範囲指定入力処理手段15により入力した文
字または罫線を、デイスプレイ画面の表示に対応
する情報を持つバツフア上で検索し、上記計算処
理または手順繰り返し処理の対象となる範囲を決
定する検索処理手段16とを備えたことを特徴と
する計算/繰り返し範囲自動検索処理方式。
[Scope of Claims] 1. In a data processing system having a calculation processing or procedure repetition processing function within a specified range regarding the sequence of numerical values displayed on a display screen, the end point of the range to be subjected to the calculation processing or procedure repetition processing is A range designation input processing means 15 for inputting characters or ruled line information to be displayed, and searching the characters or ruled lines inputted by the range designation input processing means 15 on a buffer having information corresponding to the display on the display screen, and performing the above calculation process. Alternatively, a calculation/repetition range automatic search processing method characterized by comprising a search processing means 16 for determining a range to be subjected to procedure repetition processing.
JP62133691A 1987-05-29 1987-05-29 Automatic retrieval processing for calculating/repeating range Granted JPS63298566A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62133691A JPS63298566A (en) 1987-05-29 1987-05-29 Automatic retrieval processing for calculating/repeating range

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62133691A JPS63298566A (en) 1987-05-29 1987-05-29 Automatic retrieval processing for calculating/repeating range

Publications (2)

Publication Number Publication Date
JPS63298566A JPS63298566A (en) 1988-12-06
JPH0568736B2 true JPH0568736B2 (en) 1993-09-29

Family

ID=15110622

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62133691A Granted JPS63298566A (en) 1987-05-29 1987-05-29 Automatic retrieval processing for calculating/repeating range

Country Status (1)

Country Link
JP (1) JPS63298566A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH038089A (en) * 1989-04-18 1991-01-16 Sanyo Electric Co Ltd Automatic graph preparing device

Also Published As

Publication number Publication date
JPS63298566A (en) 1988-12-06

Similar Documents

Publication Publication Date Title
JPH0365757A (en) Sentence processor
JPH0568736B2 (en)
JPH02126361A (en) Chinese language input apparatus
JPH01231175A (en) Data base processor
JPS62243021A (en) Inputting method for special character
JP2003015807A (en) Method and program for controlling input
JPS5828268Y2 (en) Japanese character input device
JPS5844528A (en) Selecting system of homonym
JP3012525B2 (en) Character processing method and character processing device
JPH0521263B2 (en)
JPH04148370A (en) Document processor
JP2629946B2 (en) Document processing device
JPH03108053A (en) Document preparing device
JPH04128966A (en) Document processor
JPS63157265A (en) Document processor
JPH01204195A (en) On-line character input system
JPS62288966A (en) Kanji radical selecting system
JPS62189554A (en) Processor for attribute of input data on spread sheet program
JPH05233182A (en) Positioning method
JPH0644234A (en) Document preparing device and display control method
JPH06309312A (en) Document creation device
JPH04133166A (en) Kana/kanji converter
JPS6336365A (en) Japanese language processor
JPH04106679A (en) Candidate selecting method
JPH04114220A (en) Processing selection system for data processor

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees