JPH06342437A - Information processor - Google Patents

Information processor

Info

Publication number
JPH06342437A
JPH06342437A JP6066048A JP6604894A JPH06342437A JP H06342437 A JPH06342437 A JP H06342437A JP 6066048 A JP6066048 A JP 6066048A JP 6604894 A JP6604894 A JP 6604894A JP H06342437 A JPH06342437 A JP H06342437A
Authority
JP
Japan
Prior art keywords
search
command
key
underline
character
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
JP6066048A
Other languages
Japanese (ja)
Inventor
Eiichiro Toshima
英一朗 戸島
Tadashi Kimura
正 木村
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP6066048A priority Critical patent/JPH06342437A/en
Publication of JPH06342437A publication Critical patent/JPH06342437A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the flexibility of a calculating function in the case of executing search or sort by providing the means for calculating a numerical value to be processed while ignoring the modifying attribute in the case of executing a command. CONSTITUTION:When a search command start key SSKEY is inputted, search flag is set to '1' and returned to the state of input waiting again, and following inputted characters are handled as the search character string of the search command. When a search command end key SEKEY is inputted, the search flag is cleared to '0'. Next, it is discriminated whether an underline ignore key UNKEY is operated or not and when the underline ignore key UNKEY is depressed, the search is performed while ignoring underlines. In this case, the search can be prepared for designating whether respective changes are ignored or not concerning whether information is printed or not, whether lightness/darkness is inverted or not and whether it is capital letters or small letters in the attributes of all the characters or the change of respective combination.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は計算機能を有する情報処
理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing device having a calculation function.

【0002】[0002]

【従来の技術】従来、入力されたテキストをメモリ上に
記憶し、上記テキストに対し、計算を行う情報処理装置
において、サーチ等のコマンド実行を行う際に、文字に
アンダーラインなどの付加的な情報が付いている場合に
おいては、コマンドの解釈が一方的となり、計算機能の
柔軟性に欠けるという欠点を持っていた。
2. Description of the Related Art Conventionally, an input text is stored in a memory, and when an information processing apparatus for calculating the text executes a command such as a search, an additional character such as underline is added to a character When the information was attached, the command had a one-sided interpretation, and the calculation function lacked flexibility.

【0003】例えば、「A」という文字列をサーチした
ときには「A」は見つかるが、「」(アンダライン付
きのA)は見つからなかった。もし、アンダラインの有
無にかかわらず「A」という文字列をサーチしたいとき
には「A」と「」という2つの文字列のサーチを行わ
なければならなかった。
For example, when searching for a character string "A", "A" is found, but " A " (A with an underline) is not found. If it is desired to search for a character string "A" regardless of the presence or absence of an underline, it is necessary to search for two character strings "A" and " A ".

【0004】また例えば計算等のコマンドにおいて、ア
ンダラインの付いていない数値の計算は行えるが、アン
ダラインの付いている数値は別の文字とみなされて計算
が実行されなかった。従って、アンダラインの付いてい
る数値の計算を実行したい場合には数値からアンダライ
ンを除去して、しかる後に計算コマンドを実行しなけれ
ばならなかった。
In addition, for example, in a command such as calculation, a numerical value without an underline can be calculated, but a numerical value with an underline is regarded as another character and the calculation is not executed. Therefore, in order to execute the calculation of the numerical value with the underline, it was necessary to remove the underline from the numerical value and then execute the calculation command.

【0005】以上のように従来の情報処理装置は計算機
能の柔軟性に欠け、手間がかかるという欠点を持ってい
た。
As described above, the conventional information processing apparatus has a drawback that it lacks flexibility in the calculation function and is troublesome.

【0006】本発明の目的は上述の欠点を除去し、例え
ば、アンダラインを無視してサーチしたい場合でも1回
のコマンド実行で望みの処理を行うことを可能にし、例
えば、アンダラインの付いた数値の計算を可能にした情
報処理装置を提供することである。
The object of the present invention is to eliminate the above-mentioned drawbacks, for example, to enable desired processing with one command execution even if it is desired to search while ignoring underlines. An object of the present invention is to provide an information processing device capable of calculating numerical values.

【0007】[0007]

【実施例】以下に図面を参照して本発明を詳細に説明す
る。図1は本発明情報処理装置の一実施例を示す。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described in detail below with reference to the drawings. FIG. 1 shows an embodiment of the information processing apparatus of the present invention.

【0008】図示の構成において、CPUは、マイクロ
プロセッサであり、情報処理のための演算,論理判断等
を行ない、アドレスバスAB,コントロールバスCB,
データバスDBを介して、それらのバスに接続された各
構成要素を制御する。
In the configuration shown in the figure, the CPU is a microprocessor which performs arithmetic operations for information processing, logical judgments, etc., and has an address bus AB, a control bus CB,
The respective components connected to those buses are controlled via the data bus DB.

【0009】アドレスバスABはマイクロプロセッサC
PUの制御の対象とする構成要素を指示するアドレス信
号を転送する。コントロールバスCBはマイクロプロセ
ッサCPUの制御の対象とする各構成要素にコントロー
ル信号を転送して印加する。データバスDBは各構成機
器相互間の転送を行う。
The address bus AB is a microprocessor C
An address signal for instructing a component to be controlled by the PU is transferred. The control bus CB transfers and applies a control signal to each component to be controlled by the microprocessor CPU. The data bus DB transfers data between the constituent devices.

【0010】つぎに、ROMは、読出し専用の固定メモ
リであり、図4に示す如く後述するマイクロプロセッサ
CPUによる制御の手順等を記憶させておく。
Next, the ROM is a read-only fixed memory, and stores the control procedure by the microprocessor CPU, which will be described later, as shown in FIG.

【0011】また、CRTは陰極線管等を用いた表示装
置であり、その表示装置CRTにおけるドット構成の表
示パターンおよびカーソルの表示をCRTコントローラ
で制御する。さらに、CGはキャラクタジェネレータで
あって、表示装置CRTに表示する文字・記号・カーソ
ル等のキャラクタ信号を発生させるものである。
Further, the CRT is a display device using a cathode ray tube or the like, and the display pattern of the dot configuration and the display of the cursor on the display device CRT are controlled by the CRT controller. Further, CG is a character generator for generating character signals such as characters, symbols and cursors to be displayed on the display device CRT.

【0012】RAMはランダムアクセスメモリで各種デ
ータの一時記憶に用いられる。SBUFはサーチバッフ
ァ,SFLGはサーチフラグである。
The RAM is a random access memory and is used for temporary storage of various data. SBUF is a search buffer and SFLG is a search flag.

【0013】KBはキーボードであって、この情報処理
装置に対する各種データの入力,指示を与えるための各
種キー群を例えば図2に示すように配列して設ける。
The KB is a keyboard provided with various key groups for inputting various data and giving instructions to the information processing apparatus, for example, arranged as shown in FIG.

【0014】図2において、CIKは情報処理用の文字
キーやファンクションキー等の各種キー群、SSKEY
はサーチコマンド入力開始を指示するサーチコマンド開
始キー、SEKEYはサーチコマンドの終了を指示する
サーチコマンド終了キー、UNKEYはサーチコマンド
の実行の際にアンダラインの有無にかかわらずサーチを
行うか否かの区別を行うアンダライン無視キーである。
In FIG. 2, CIK is a group of various keys such as information processing character keys and function keys, and SSKEY.
Is a search command start key for instructing the start of search command input, SEKEY is a search command end key for instructing the end of the search command, and UNKEY is whether to perform the search regardless of the presence or absence of an underline when executing the search command. It is an underline ignore key that makes a distinction.

【0015】サーチコマンドの入力はSSKEYを入力
し、次いでサーチしたい文字列を入力し、最後にSEK
EYを入力することにより行われる。その際もし、UN
KEYが押されておればアンダラインの有無に無関係に
サーチを行うが、UNKEYが押されていなければ前述
文字列だけをサーチすることになり、前記文字列にアン
ダラインがついておれば、アンダラインのついていない
文字列は見つからず、文字列にアンダラインがついてい
なければ、アンダラインのついている文字列は見つから
ないことになる。
To input a search command, enter SSKEY, then the character string you want to search for, and finally SEK
This is done by inputting EY. In that case, UN
If KEY is pressed, the search is performed regardless of the presence / absence of an underline, but if UNKEY is not pressed, only the aforementioned character string will be searched. If the character string has an underline, the underline will be searched. If the character string without "" is not found and the character string is not underlined, the character string with underline is not found.

【0016】図3に文字データの内部型式の例を示す。FIG. 3 shows an example of the internal type of character data.

【0017】ビット1〜ビット7は文字コードであり、
例えばASCiiコードが格納される。ビット0はアン
ダラインビットであり、もしビット0が1ならその文字
にはアンダラインが付いていることを意味し、もしビッ
ト0が0ならその文字にはアンダラインは付いていない
ことを意味する。
Bits 1 to 7 are character codes,
For example, the ASCii code is stored. Bit 0 is the underline bit, if bit 0 is 1 then the character is underlined, if bit 0 is 0 then the character is not underlined .

【0018】以上の構成の本発明情報処理装置の動作の
概略を図4を参照して説明する。
An outline of the operation of the information processing apparatus of the present invention having the above configuration will be described with reference to FIG.

【0019】ここですべての操作はキーボードKB上に
ある文字キーあるいはファンクションキーにより実行す
る。
Here, all the operations are executed by the character keys or function keys on the keyboard KB.

【0020】まず電源投入時に自動的にステップ1が実
行され、サーチフラグSFLGがクリアされキーボード
が動作するよう構成されている。
First, when power is turned on, step 1 is automatically executed, the search flag SFLG is cleared, and the keyboard is operated.

【0021】次にキーボードKB上のキーが操作される
とステップS2に移りどのキーが入力されたかの判別が
行われ、各々のキーの種類によって大きく3つの処理に
分かれる。
Next, when a key on the keyboard KB is operated, the process proceeds to step S2 to determine which key has been input, and is roughly divided into three processes depending on the type of each key.

【0022】まず、サーチコマンド開始キーSSKEY
が入力されると、ステップS3に移りサーチフラグSF
LGが1にセットされ、再びキー入力待ちの状態に戻
る。サーチフラグSFLGが1にセットされると、以降
入力された文字はサーチコマンドのサーチ文字列として
取扱われることになる。
First, the search command start key SSKEY
Is input, the process proceeds to step S3 and the search flag SF
LG is set to 1 and the key input waiting state is restored again. When the search flag SFLG is set to 1, the subsequently input characters are handled as the search character string of the search command.

【0023】また、サーチコマンド終了キーSEKEY
が入力されると、ステップS4に移りサーチフラグSF
LGが0にクリアされる。次にステップS5に移り、ア
ンダライン無視キーが操作されているかを判別する。
Further, a search command end key SEKEY
Is input, the process moves to step S4 and the search flag SF
LG is cleared to 0. Next, in step S5, it is determined whether the underline ignore key has been operated.

【0024】このときもし、アンダライン無視キーUN
KEYが押されていると、ステップS6のアンダライン
を無視したサーチが行われる。
At this time, if the underline ignore key UN
If KEY is pressed, a search is performed ignoring the underline in step S6.

【0025】即ち、サーチコマンド開始キーSSKEY
が入力されてサーチコマンド終了キーSEKEYが入力
されるまでにサーチバッファSBuFに入力された文字
列がサーチ文字列として扱われ、サーチが行われる。さ
らに述べると、アンダラインを無視したサーチは、サー
チバッファ内の文字列の各文字データに対し、アンダラ
インビットのビット0を殺すように(7F)16でAND
をとることによりマスクをかけ、同様にテキスト内のサ
ーチされる文字列に対してもマスクをかけて比較するこ
とにより行われる。サーチが終了すると再び入力待ちに
戻る。もしステップS5でNOとなれば、ステップS7
でアンダラインを考慮したサーチが行われる。
That is, the search command start key SSKEY
Is input and the search command end key SEKEY is input, the character string input to the search buffer SBuF is treated as a search character string, and a search is performed. Further, in the search ignoring the underline, AND (7F) 16 is performed so as to kill bit 0 of the underline bit for each character data of the character string in the search buffer.
It is carried out by masking by taking, and similarly, by masking and comparing the searched character string in the text. When the search is completed, the system waits for input again. If NO in step S5, step S7
In, a search considering underline is performed.

【0026】もし文字キーGiKが入力されると、まず
ステップS8でサーチフラグSFLGが0にクリアされ
ているか、または1にセットされているかを判別し、も
し0にクリアされているときは、ステップS9に移りそ
の文字はサーチコマンドを形成する文字とは扱われず
に、通常の情報処理を行い、しかる後にキー入力待ちの
状態に戻る。
If the character key GiK is input, it is first determined in step S8 whether the search flag SFLG is cleared to 0 or set to 1. If it is cleared to 0, the step In step S9, the character is not treated as a character forming a search command, normal information processing is performed, and then the key input waiting state is restored.

【0027】またもし、サーチフラグSFLGが1にセ
ットされているときは、ステップS10に移り入力され
た文字はサーチ文字列を形成する文字列の1つとして取
扱われ、サーチバッファSBuFに格納される。しかる
後にキー入力待ちの状態に戻る。
If the search flag SFLG is set to 1, the character entered in step S10 is treated as one of the character strings forming the search character string and stored in the search buffer SBuF. . Then, it returns to the state of waiting for key input.

【0028】上述した本発明の実施例においては、サー
チされる文字列はアンダライン付きかそうでないかの2
種類の変化しか述べなかったが、それ以外にも、プリン
タするか否か、明暗逆転するか否かなど、大文字か小文
字かなど、あらゆる文字の属性あるいはそれらの組み合
せの変化に対し、それらのそれぞれについて無視するか
否かを指定したサーチを用意してもよい。
In the above-described embodiment of the present invention, whether the searched character string is underlined or not is 2
Although I have only described the changes in types, in addition to these, for each change in the attributes of all characters or their combinations such as whether to print, whether to reverse light and dark, whether it is uppercase or lowercase, May be prepared by designating whether or not to ignore.

【0029】また、コマンドはサーチに限ったが、文字
の属性に従って結果の異なるような作業、例えば、ソー
ト,計算などであれば、作業の如何にかかわらず、本発
明は有効である。
Although the command is limited to the search, the present invention is effective regardless of the work as long as the work has different results according to the attribute of the character, such as sorting and calculation.

【0030】また、コマンドの入力法として特定のコマ
ンドキーを準備したが、特にこのようなキーを設けず
に、文字等入力に用いるキーを組み合せて使用すること
によりコマンドキーの代用をしてもよい。
Although a specific command key is prepared as a command input method, the command key can be substituted by using a combination of keys used for inputting characters etc. without providing such a key. Good.

【0031】[0031]

【発明の効果】以上の説明から明らかなように、本発明
によれば、サーチ,ソートなどのコマンドの実行に際し
て、付加された種々の属性(例えば、アンダラインなど
の属性)が存在する場合において、それらの属性を無視
して計算できるという優れた効果を奏する。
As is apparent from the above description, according to the present invention, when executing various commands such as search and sort, there are various added attributes (for example, attributes such as underline). , It has an excellent effect that can be calculated by ignoring those attributes.

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

【図1】本発明の一実施例を示すブロック図FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】図1で示したキーボードKBの詳細配置例を示
す配置図
FIG. 2 is a layout diagram showing a detailed layout example of the keyboard KB shown in FIG.

【図3】本発明における文字データの内部型式の例を示
す図
FIG. 3 is a diagram showing an example of an internal type of character data according to the present invention.

【図4】本発明における処理の一例を示すフローチャー
FIG. 4 is a flowchart showing an example of processing in the present invention.

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

SBUF サーチバッファ SFLG サーチフラグ SSKEY サーチコマンド開始キー SEKEY サーチコマンド終了キー UNKEY アンダライン無視キー SBUF Search buffer SFLG Search flag SSKEY Search command start key SEKEY Search command end key UNKEY Underline ignore key

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 外部より入力されるコマンドを識別する
ための識別手段と前記識別手段により識別される前記コ
マンドを実行する手段とを有し、処理される数値が修飾
属性を有し、前記コマンドの実行に際し、前記数値の前
記修飾属性を無視して計算する手段を有する情報処理装
置。
1. A command having an identification means for identifying a command input from the outside and a means for executing the command identified by the identification means, wherein a numerical value to be processed has a modification attribute, and the command An information processing apparatus having means for ignoring the modification attribute of the numerical value and performing calculation.
JP6066048A 1994-04-04 1994-04-04 Information processor Pending JPH06342437A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6066048A JPH06342437A (en) 1994-04-04 1994-04-04 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6066048A JPH06342437A (en) 1994-04-04 1994-04-04 Information processor

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP57012216A Division JPS58129531A (en) 1982-01-28 1982-01-28 Character processor

Publications (1)

Publication Number Publication Date
JPH06342437A true JPH06342437A (en) 1994-12-13

Family

ID=13304607

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6066048A Pending JPH06342437A (en) 1994-04-04 1994-04-04 Information processor

Country Status (1)

Country Link
JP (1) JPH06342437A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5510667A (en) * 1978-07-08 1980-01-25 Ricoh Co Ltd Underline printing system
JPS562063A (en) * 1979-06-19 1981-01-10 Sharp Corp Information retrieval system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5510667A (en) * 1978-07-08 1980-01-25 Ricoh Co Ltd Underline printing system
JPS562063A (en) * 1979-06-19 1981-01-10 Sharp Corp Information retrieval system

Similar Documents

Publication Publication Date Title
JP3025121B2 (en) Information processing method and apparatus
EP0066046B1 (en) Information processing system for selecting data in response to complex conditions
JPH06342437A (en) Information processor
JPH05233716A (en) Automatic attribute judgement system
JPS59142634A (en) Character processing device
JPH0628396A (en) Electronic dictionary
JPH07160696A (en) Method and device for processing document
JP2593620B2 (en) Character processor
JPH10307839A (en) Text retrieving device and its method
JPS63261454A (en) Document processor
JP2547763B2 (en) Information processing device
JPH08202703A (en) Character processor and kana/kanji conversion method for the same
JPH0380374A (en) Character data outputting system
JPH06208657A (en) Method and device for recognizing character
JPH05135010A (en) Character processing method and device therefor
JPH04332073A (en) Method and device for processing character
JPH10187700A (en) Document processor
JP2003173332A (en) Kana-kanji conversion method and character processor
JPH10187705A (en) Method and device for document processing
JPS63261459A (en) Document processor
JPH04259058A (en) Document processor with space deleting function
JPH05216875A (en) Information processor
JPS62180459A (en) Document processor
JPH04130960A (en) Conversion method for symmetric group characters
JPH0520324A (en) Document processor