JPH0543134B2 - - Google Patents

Info

Publication number
JPH0543134B2
JPH0543134B2 JP61066711A JP6671186A JPH0543134B2 JP H0543134 B2 JPH0543134 B2 JP H0543134B2 JP 61066711 A JP61066711 A JP 61066711A JP 6671186 A JP6671186 A JP 6671186A JP H0543134 B2 JPH0543134 B2 JP H0543134B2
Authority
JP
Japan
Prior art keywords
key
code
input
character
keyboard
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP61066711A
Other languages
Japanese (ja)
Other versions
JPS62222326A (en
Inventor
Hiroichi Yoshida
Koichiro Sakamoto
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP61066711A priority Critical patent/JPS62222326A/en
Publication of JPS62222326A publication Critical patent/JPS62222326A/en
Publication of JPH0543134B2 publication Critical patent/JPH0543134B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)
  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明はワードプロセツサに関する。[Detailed description of the invention] <Industrial application field> The present invention relates to word processors.

〈従来の技術とその問題点〉 ワードプロセツサ等において、ユーザーが押し
た一連のキーのキーコードをそのままRAM等に
記憶しておき、同じ操作をしたい時にそのキーコ
ード列(以下、手続きという)を呼び出して実行
させるという方式は、すでに実用化されている。
しかし、従来の方式では、再度実行できる操作は
同じ操作に限られるので、手続きの途中で判断
し、この判断結果に応じて操作を変更するという
ことはできなかつた。
<Conventional technology and its problems> In word processors, etc., the key codes of a series of keys pressed by the user are stored as they are in RAM, etc., and when the user wants to perform the same operation, the key code string (hereinafter referred to as procedure) is used. The method of calling and executing is already in practical use.
However, in the conventional system, only the same operations can be executed again, so it is not possible to make a decision midway through a procedure and change the operation based on the result of this decision.

〈発明の目的〉 本発明は上記事情に鑑みてなされたものであ
り、手続きに判断機能を付加できるようにしたワ
ードプロセツサの提供を目的とする。
<Object of the Invention> The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a word processor that can add a judgment function to a procedure.

〈課題を解決するための手段〉 本発明のワードプロセツサは、カーソル位置を
基準に文字入力及び編集を行う装置であつて、キ
ーボードと、入力された文字列を記憶する文章メ
モリと、そのキーボードから入力される文字コー
ドをその文章メモリに記憶させると共に、キーボ
ードからの編集指示により文章メモリ内の文字列
を編集する文字入力編集部と、キーコードを記憶
するキーバツフアと、そのキーバツフアにキーボ
ードから入力される入力及び編集のための一連の
キー操作に対応するキーコードをキーバツフアに
記憶させると共にキーボードから入力された判断
コードと比較条件及び所定の処理情報を記憶させ
る登録制御手段と、キーバツフアに記憶されたキ
ーコードを順次読み出し、上記文字入力編集部に
供給すると共に、判断コードのコード内容の検出
に応答して文章メモリのカーソルが位置する文字
が上記比較条件に相当するか否かを判断し、条件
に相当する場合には処理情報に従つた処理を実行
して引き続くキーコードを文字入力編集部に供給
する読出制御手段とを備えたことによつて特徴付
けられている。
<Means for Solving the Problems> The word processor of the present invention is a device for inputting and editing characters based on the cursor position, and includes a keyboard, a text memory for storing input character strings, and the keyboard. a character input editing section that stores character codes input from the text memory and edits character strings in the text memory based on editing instructions from the keyboard; a key buffer that stores key codes; and a key buffer that stores input from the keyboard into the key buffer. a registration control means for storing in the key buffer a key code corresponding to a series of key operations for inputting and editing, and storing a judgment code input from the keyboard, a comparison condition, and predetermined processing information; sequentially reads out the key codes and supplies them to the character input editing section, and in response to detecting the code content of the judgment code, determines whether or not the character at which the cursor of the text memory is located corresponds to the comparison condition; The present invention is characterized in that it includes a reading control means that executes processing according to the processing information when the conditions are met and supplies a subsequent key code to the character input editing section.

〈実施例〉 第1図は本実施例のワードプロセツサの基本構
成を示す。1はキーボードであり、この中に判断
指示キー、再実行キー、文字入力キー並びに命令
キーがある。2はCPU、3はCRTなどの表示装
置である。4はキー記憶バツフアであり、キーボ
ード1のキー入力に対応したキーコードを記憶す
る。5は入力された文字列を蓄える文章バツフア
である。6はポインタであり、文章バツフア5の
画面上のカーソルに対応した文字を指定するとと
もに、キー記憶バツフア4のキーコードを指定す
る。
<Embodiment> FIG. 1 shows the basic configuration of a word processor of this embodiment. Reference numeral 1 denotes a keyboard, which includes a judgment instruction key, a re-execution key, a character input key, and a command key. 2 is a CPU, and 3 is a display device such as a CRT. A key storage buffer 4 stores key codes corresponding to key inputs on the keyboard 1. 5 is a text buffer that stores input character strings. A pointer 6 designates a character corresponding to the cursor on the screen of the text buffer 5, and also designates a key code of the key storage buffer 4.

第2図はキーボード1の構成を示す。11はカ
ーソルの移動、後退等を指示する命令キー、12
は文字を入力する文字入力キー、13は処理手順
の中で判断を行うことを指示する判断指示キーで
ある。14は再実行キーであり、この再実行キー
14を押すとキー記憶バツフア4に記憶した一連
のキーコードに対応した処理が実行される。15
は開始終了キーであり、キー記憶バツフア4のキ
ーコードの記憶の開始と終了を指示する。
FIG. 2 shows the structure of the keyboard 1. 11 is a command key for instructing cursor movement, backward movement, etc., 12
13 is a character input key for inputting characters, and 13 is a judgment instruction key for instructing to make a judgment in a processing procedure. 14 is a re-execute key, and when this re-execute key 14 is pressed, the process corresponding to the series of key codes stored in the key storage buffer 4 is executed. 15
is a start/end key, which instructs the key storage buffer 4 to start and end storing the key code.

以下、動作を説明する。 The operation will be explained below.

キーボード1から入力した文字は、文章バツフ
ア5に蓄えられる。命令キー11により入力され
た命令に対応した処理が、CPU2により実行さ
れる。たとえば、カーソルの移動であれば、ポイ
ンタ6を変更する。開始終了キー15を押すと、
それ以降のキー入力のキーコードがキー記憶バツ
フア4に収容される。再度、開始終了キー15を
押すと、キー記憶バツフア4へのキーコードの収
容が停止される。再実行キー14を押すと、キー
記憶バツフア4に収容されたキーコード列を
CPU2が読み出し、CPU2はこのキーコード列
に対応した処理を実行する。
Characters input from the keyboard 1 are stored in a text buffer 5. Processing corresponding to the command input by the command key 11 is executed by the CPU 2. For example, when moving the cursor, the pointer 6 is changed. When you press the start/end key 15,
Key codes for subsequent key inputs are stored in the key storage buffer 4. When the start/end key 15 is pressed again, storage of the key code into the key storage buffer 4 is stopped. When the rerun key 14 is pressed, the key code string stored in the key memory buffer 4 is
The CPU 2 reads the key code string, and the CPU 2 executes processing corresponding to this key code string.

キーボード1から順次にキー入力を行うと、キ
ー記憶バツフア4へのキーコードの収容と同時に
表示装置3の画面にたとえば第3図に示すように
ステツプ番号が表示される。そして、判断が必要
なステツプにおいて判断指示キー13を押すと、
画面に第4図に示すような判断内容を入力するた
めのウインドウが表示され、このウインドウにし
たがつて「以上」、「未満」等の比較子、文字や数
字の比較内容を入力する。この内容は、文章バツ
フア5には収容されず、キー記憶バツフア4に適
当な内部コードとして収容される。なお、キー入
力中に判断指示キー13だけを入力しておき、手
続きの内容を画面で表示し、手続きの修正で比較
子、比較内容を入力することも可能である。
When keys are inputted sequentially from the keyboard 1, a step number is displayed on the screen of the display device 3 at the same time as the key code is stored in the key storage buffer 4, as shown in FIG. 3, for example. Then, when the judgment instruction key 13 is pressed at a step that requires judgment,
A window for inputting judgment content as shown in FIG. 4 is displayed on the screen, and in accordance with this window, a comparator such as "greater than or equal to" or "less than", and comparison content of letters and numbers are input. This content is not stored in the text buffer 5, but is stored in the key storage buffer 4 as a suitable internal code. It is also possible to input only the judgment instruction key 13 during key input, display the content of the procedure on the screen, and input the comparator and comparison content when modifying the procedure.

開始終了キー15が押されると、ポインタ6を
キー記憶バツフア4の最初のステツプにセツト
し、それ以降のキー入力に対するキーコードをキ
ー記憶バツフア4に収容するごとにポインタ6を
アツプする。判断キーの場合には、キー記憶バツ
フア4の内部の収容コードに変更し、一度に収容
してポインタ6をアツプする。再度、開始終了キ
ー15が押されると、終了コードを収容する。
When the start/end key 15 is pressed, the pointer 6 is set to the first step of the key storage buffer 4, and the pointer 6 is raised each time a key code for a subsequent key input is stored in the key storage buffer 4. In the case of a determination key, it is changed to the storage code inside the key storage buffer 4, stored at once, and the pointer 6 is raised. When the start/end key 15 is pressed again, the end code is stored.

再実行キー14が押されると、まずポインタ6
を最初のステツプにしてキー記憶バツフア4から
キーコードを読み出す。キーコードを順次に読み
出して、判断コードでなければそのままキーコー
ドを出力し、ポインタ6をアツプする。判断コー
ドであれば、それに続くキーコードの内容の判断
を行い、結果に応じてポインタ6を変更し、変更
したステツプへジヤンプする。終了コードであれ
ば、そこでキーコードの出力を停止する。
When the rerun key 14 is pressed, the pointer 6 is
The key code is read from the key storage buffer 4 with the first step. The key codes are sequentially read out, and if it is not a judgment code, the key code is output as is, and the pointer 6 is raised. If it is a judgment code, the content of the key code following it is judged, the pointer 6 is changed according to the result, and the process jumps to the changed step. If it is an end code, output of the key code is stopped at that point.

ここで、第5図に示すような住所録の中から女
性だけのデータを抽出する手続きについて説明す
る。第6図はこの場合のキー記憶バツフア4の内
容を示す。
Here, a procedure for extracting data on only women from an address book as shown in FIG. 5 will be explained. FIG. 6 shows the contents of the key storage buffer 4 in this case.

ステツプ4のキーコード“0001”はカーソル位
置の文字の判断を意味し、ステツプ5、7の
“1100”は比較する可変長文字列を囲う識別コー
ドで、ステツプ8の“2161”は「等しければ」を
意味するコードで、ステツプ9の“000C”はジ
ヤンプ先のステツプ番号12を示すコードである。
The key code “0001” in step 4 means judgment of the character at the cursor position, “1100” in steps 5 and 7 is an identification code surrounding the variable-length character strings to be compared, and “2161” in step 8 means “if they are equal, "000C" in step 9 is a code indicating step number 12 to jump to.

ステツプ4からステツプ9において、「カーソ
ル位置の文字列が「女」であればステツプ12にジ
ヤンプする」という判断になる。カーソル位置の
文字列が“男”の場合、ステツプ10、11にてその
行が抹消される。つまり、男性のデータは消され
る。
In steps 4 to 9, it is determined that ``if the character string at the cursor position is ``woman,'' the process jumps to step 12. If the character string at the cursor position is "male", that line is deleted in steps 10 and 11. In other words, the man's data will be deleted.

ステツプ12のキーコード“0002”は「カーソル
位置が文末かどうか」の判断を意味し、ステツプ
13の“0001”はジヤンプ先のステツプ番号1を示
すコードである。ステツプ12、13で「カーソル位
置が文末でなければステツプ1にジヤンプする」
という判断となる。判断結果が文末であれば、手
続きを終了する。
The key code “0002” in step 12 means to judge whether the cursor position is at the end of the sentence.
13 "0001" is a code indicating the jump destination step number 1. At steps 12 and 13, "If the cursor is not at the end of the sentence, jump to step 1"
This is the judgment. If the judgment result is the end of the sentence, the procedure ends.

以上の処理により、画面には女性の住所録だけ
が残る。
With the above processing, only the woman's address book remains on the screen.

〈発明の効果〉 以上説明したように本発明のワードプロセツサ
によれば、登録制御手段により、オペレータの指
示に基づいて、以降入力されるキー操作を順次記
憶し、再度同一のキー操作を行う場合は、前回記
憶しておいたキー操作を読み出し、判断コードの
比較判断に基づいて所定のキー操作を行えるよう
構成したので、一連のキー操作を行う過程におい
て、任意の一連のキー操作について、それらのキ
ー操作を行わなくても、その再実行が可能とな
る。しかも、所定位置または所定文字等の条件下
で、一部異なるキー操作を行う場合に、その旨を
登録し、次の読み出し時にその所定位置または所
定文字等の条件があつた場合、指定した内容のキ
ー操作を行わせることができる。特に、一度作成
した文書を編集する場合等にも、これらの機能は
有効である。また、このように判断に応じたキー
コードを出力することができ、応用範囲の広い手
続きを行うことができ、機能性が向上する。
<Effects of the Invention> As explained above, according to the word processor of the present invention, the registration control means sequentially stores key operations input thereafter based on instructions from the operator, and performs the same key operation again. In this case, the previously stored key operation is read out and the predetermined key operation is performed based on the judgment code comparison, so in the process of performing a series of key operations, for any series of key operations, It is possible to re-execute the process without performing any key operations. Furthermore, if a partially different key operation is performed under conditions such as a predetermined position or a predetermined character, this fact can be registered, and when the predetermined position or predetermined character conditions are met at the next readout, the specified content key operations can be performed. These functions are particularly effective when editing a document that has been created once. In addition, it is possible to output a key code according to the judgment in this way, and procedures with a wide range of applications can be performed, improving functionality.

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

第1図は本発明の実施例の基本構成を示すブロ
ツク図、第2図は本発明の実施例のキーボードの
構成を示す斜視図、第3図と第4図は本発明の実
施例の画面の内容を示す図、第5図は住所録を示
す図、第6図は本発明の実施例のキー記憶バツフ
アの内容を示す図である。 1…キーボード、2…CPU、3…表示装置、
4…キー記憶バツフア、5…文章バツフア、6…
ポインタ、11…命令キー、12…文字入力キ
ー、13…判断指示キー、14…再実行キー、1
5…開始終了キー。
FIG. 1 is a block diagram showing the basic configuration of an embodiment of the present invention, FIG. 2 is a perspective view showing the configuration of a keyboard in an embodiment of the present invention, and FIGS. 3 and 4 are screens of the embodiment of the present invention. FIG. 5 is a diagram showing the address book, and FIG. 6 is a diagram showing the contents of the key storage buffer according to the embodiment of the present invention. 1...Keyboard, 2...CPU, 3...Display device,
4...Key memory buffer, 5...Sentence buffer, 6...
Pointer, 11... Command key, 12... Character input key, 13... Judgment instruction key, 14... Re-execution key, 1
5...Start/end key.

Claims (1)

【特許請求の範囲】[Claims] 1 カーソル位置を基準に文字入力及び編集を行
うワードプロセツサにおいて、キーボードと、入
力された文字列を記憶する文章メモリと、上記キ
ーボードから入力される文字コードを上記文章メ
モリに記憶させると共に、上記キーボードからの
編集指示により上記文章メモリ内の文字列を編集
する文字入力編集部と、キーコードを記憶するキ
ーバツフアと、そのキーバツフアに上記キーボー
ドから入力される入力及び編集のための一連のキ
ー操作に対応するキーコードを上記キーバツフア
に記憶させると共に上記キーボードから入力され
た判断コードと比較条件及び所定の処理情報を記
憶させる登録制御手段と、上記キーバツフアに記
憶されたキーコードを順次読み出し、上記文字入
力編集部に供給すると共に、上記判断コードのコ
ード内容の検出に応答して上記文章メモリのカー
ソルが位置する文字が上記比較条件に相当するか
否かを判断し、条件に相当する場合には上記処理
情報に従つた処理を実行して引き続くキーコード
を上記文字入力編集部に供給する読出制御手段と
を備えたことを特徴とするワードプロセツサ。
1 A word processor that inputs and edits characters based on the cursor position includes a keyboard, a text memory that stores input character strings, stores the character code input from the keyboard in the text memory, and stores the character code input from the keyboard in the text memory. A character input editing section that edits the character string in the text memory according to editing instructions from the keyboard, a key buffer that stores key codes, and a series of key operations for input and editing that are input from the keyboard to the key buffer. a registration control means for storing a corresponding key code in the key buffer and also storing a judgment code input from the keyboard, a comparison condition and predetermined processing information; and a registration control means for sequentially reading out the key codes stored in the key buffer and inputting the characters. In addition to supplying the code to the editorial department, in response to the detection of the code content of the judgment code, it is determined whether the character where the cursor is located in the text memory corresponds to the above comparison condition, and if it corresponds to the condition, the above A word processor comprising readout control means for executing processing according to processing information and supplying a subsequent key code to the character input/editing section.
JP61066711A 1986-03-24 1986-03-24 Input device Granted JPS62222326A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61066711A JPS62222326A (en) 1986-03-24 1986-03-24 Input device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61066711A JPS62222326A (en) 1986-03-24 1986-03-24 Input device

Publications (2)

Publication Number Publication Date
JPS62222326A JPS62222326A (en) 1987-09-30
JPH0543134B2 true JPH0543134B2 (en) 1993-06-30

Family

ID=13323776

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61066711A Granted JPS62222326A (en) 1986-03-24 1986-03-24 Input device

Country Status (1)

Country Link
JP (1) JPS62222326A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5920342B2 (en) * 1982-07-16 1984-05-12 株式会社澤田商店 How to make mochi using mochi flour

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6137042Y2 (en) * 1979-05-31 1986-10-27
JPS5920342U (en) * 1982-07-30 1984-02-07 カシオ計算機株式会社 Electronic device with advance key

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5920342B2 (en) * 1982-07-16 1984-05-12 株式会社澤田商店 How to make mochi using mochi flour

Also Published As

Publication number Publication date
JPS62222326A (en) 1987-09-30

Similar Documents

Publication Publication Date Title
JPH0543134B2 (en)
JPS61223923A (en) Information processor
JP3752698B2 (en) Document processing device
JPH05324649A (en) Data processing method and device
JP2588210B2 (en) Help guide method
JP2728534B2 (en) Byte position identification code setting processing method
JPH04148370A (en) Document processor
JP2564137Y2 (en) Graph creation device
JPS63266574A (en) Document forming device
JPH038070A (en) Keyword extracting system
JPH0122621B2 (en)
JPH0380363A (en) Document processor
JPH0528156A (en) Document data converter
JP3371434B2 (en) Layout editing device
JP2643330B2 (en) Conversion method of internal representation format of character string
JPS6128157A (en) Japanese word data input system
JPS5816328A (en) Japanese word processor
JPH0685169B2 (en) Document processing method
JPH05120404A (en) Command processing system
JPH0426891A (en) Data display device
JPS61122783A (en) Display system of user dictionary registration range
JPH061470B2 (en) Text processor
JPH02257210A (en) Character-string reinputting method
JPS6334624A (en) Recursive input control system
JPH08171560A (en) Document data editing device

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term