JPH0545988B2 - - Google Patents

Info

Publication number
JPH0545988B2
JPH0545988B2 JP57017205A JP1720582A JPH0545988B2 JP H0545988 B2 JPH0545988 B2 JP H0545988B2 JP 57017205 A JP57017205 A JP 57017205A JP 1720582 A JP1720582 A JP 1720582A JP H0545988 B2 JPH0545988 B2 JP H0545988B2
Authority
JP
Japan
Prior art keywords
cursor
memory
input
specifying
calculation
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
JP57017205A
Other languages
Japanese (ja)
Other versions
JPS58134328A (en
Inventor
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 JP57017205A priority Critical patent/JPS58134328A/en
Publication of JPS58134328A publication Critical patent/JPS58134328A/en
Publication of JPH0545988B2 publication Critical patent/JPH0545988B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0489Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using dedicated keyboard keys or combinations thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Digital Computer Display Output (AREA)
  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】 本発明は、文章作成を行う文字処理装置に関
し、特に文章中の数値を使つて計算を行い得るよ
うにしたものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a character processing device for creating sentences, and in particular is capable of performing calculations using numerical values in sentences.

従来、文字処理装置において、入力された文章
中の数値を使つて計算を行ない、その結果を文章
中に求めることができるようにしたものがある。
その場合、計算を行なうには、特別のキー操作に
よつて計算式を予め入力しておき、その計算式を
実行させることによつて、計算を行なうことがで
きるようになつている。従つて、計算手順を変え
るには、文章とは別なエリアに記憶された計算式
を変更する必要があつた。このような方式は複雑
な計算を繰り返し行なうのには便利であるが、簡
単な計算を簡単な操作で行うためには、却つて手
間がかかり不便であつた。
2. Description of the Related Art Conventionally, some character processing devices are capable of performing calculations using numerical values in an input sentence and finding the results in the sentence.
In this case, calculations can be performed by inputting a calculation formula in advance by operating a special key, and then executing the calculation formula. Therefore, in order to change the calculation procedure, it was necessary to change the calculation formula stored in an area separate from the text. Although such a method is convenient for repeatedly performing complex calculations, it is rather time-consuming and inconvenient for performing simple calculations with simple operations.

そこで、本発明の目的は、上述した欠点を除去
し、文章中の計算を実行するために用いる記憶領
域を設けることなく文章中の数値の計算を行ない
得るようにすべく、文章中の数値のうちの一部を
指示すると共に文章中の計算式の位置を指示する
ことにより、文字と演算子とによる計算式に基づ
いて任意所望の計算を行なうことができるように
した文字処理装置を提供することにある。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to eliminate the above-mentioned drawbacks and to make it possible to calculate numerical values in a sentence without providing a storage area for performing calculations in a sentence. To provide a character processing device capable of performing any desired calculation based on a calculation formula using characters and operators by specifying a part of the text and the position of the calculation formula in a sentence. There is a particular thing.

以下、図面を参照して本発明を詳細に説明す
る。
Hereinafter, the present invention will be explained in detail with reference to the drawings.

第1図は本発明の1実施例を示し、ここで
CPUはマイクロプロセツサで、演算や論理判断
を行なう。ABは制御対象を指示する信号を転送
するアドレスバス、CBは各種制御対象に制御信
号を供給するコントロールバス、DBは各種デー
タを機器間で転送するデータバスであり、これら
のバスAB,CB,DBを介して接続されている機
器をマイクロプロセツサCPUにより制御する。
ROMは例えばリードオンリメモリの形態の制御
メモリで、マイクロプロセツサCPUの制御手順
が格納されている。RAMはランダムアクセスメ
モリで各種データの一時記憶に用いられ、その中
にはフラツグCF、メモリIR,IF,W1,W2,
W3、3つのカーソルセーブメモリCSR1,CSR
2,CSR3、計算式メモリKBUFおよび文字数
メモリKLENを内蔵している。KBはキーボー
ド、CRはカーソルレジスタ、BUFはバツフアレ
ジスタ、CGはキヤラクタジエネレータ、CRTC
はデイスプレイCRTを制御するCRTコントロー
ラ、PRTはバツフアレジスタBUFの内容を印字
出力するプリンタである。
FIG. 1 shows one embodiment of the invention, where
The CPU is a microprocessor that performs calculations and logical decisions. AB is an address bus that transfers signals indicating control targets, CB is a control bus that supplies control signals to various control targets, and DB is a data bus that transfers various data between devices.These buses AB, CB, Devices connected via the DB are controlled by the microprocessor CPU.
The ROM is a control memory in the form of a read-only memory, for example, and stores control procedures for the microprocessor CPU. RAM is a random access memory used for temporary storage of various data, including flag CF, memory IR, IF, W1, W2,
W3, 3 cursor save memory CSR1, CSR
2. Built-in CSR3, calculation formula memory KBUF and character count memory KLEN. KB is the keyboard, CR is the cursor register, BUF is the buffer register, CG is the character generator, CRTC
is a CRT controller that controls the display CRT, and PRT is a printer that prints out the contents of the buffer register BUF.

カーソルセーブメモリCSR1は文章中の数値
配列の一部を指示するときの最初(左端)のカー
ソル位置を、カーソルセーブメモリCSR2は同
じく最後(右端)のカーソル位置をそれぞれ記憶
する。また、カーソルセーブメモリCSR3は計
算実行キーEKが入力されて計算を実行しようと
する時、計算式の存在するカーソル位置を記憶す
る。計算式メモリKBUFは、第2図に例示する
ように、CSR3で示される位置から取り込まれ
た計算式を記憶する。例えば10ワードの容量を有
するものとする。文字数メモリKLENは、計算
式の総文字数(第2図の例では5)を格納する。
計算式メモリKBUF中の=以下の文字は、計算
結果を示すものとする。
The cursor save memory CSR1 stores the first (leftmost) cursor position when specifying a part of the numerical array in a sentence, and the cursor save memory CSR2 similarly stores the last (rightmost) cursor position. Further, the cursor save memory CSR3 stores the cursor position where a calculation formula exists when the calculation execution key EK is input and a calculation is to be executed. The calculation formula memory KBUF stores the calculation formula taken in from the position indicated by CSR3, as illustrated in FIG. For example, assume that it has a capacity of 10 words. The character count memory KLEN stores the total number of characters in the calculation formula (5 in the example of FIG. 2).
The characters following = in the calculation formula memory KBUF indicate calculation results.

キーボードKBは文章の入力、編集および計算
式の入力等に使用され、第3図に示すように、文
字キーAK、カーソルキーCK、範囲指示キー
HK、計算実行キーEK等のフアンクシヨンキー
を有している。カーソルレジスタCRはデイスプ
レイCRT上の位置、すなわち行および桁によつ
て決定される位置を記憶するものであり、ここに
はデイスプレイCRT上の位置を示す0〜39まで
の順次の番号が記憶され、カーソルCA(第5図参
照)の移動とともにマイクロプロセツサCPUに
制御されて変化する。また、カーソルCAはカー
ソルレジスタCR内の順次番号に基いてCRTコン
トローラCRTCによりデイスプレイCRT上の対
応する行および桁に表示される。バツフアレジス
タBUFは例えば40ワードの容量を持ち、文章お
よび数値等のデータコードが格納され、第4図に
示すように縦5行、横8桁から成り、その内容は
この位置関係と同じ5行8桁のデイスプレイ
CRT上にキヤラクタジエネレータCGを介して表
示される。このように、マイクロプロセツサ
CPUは、バツフアレジスタBUFに格納したデー
タコードに基づいて所望の文字パターンを読み出
し、その文字パターンを出力手段としてのデイス
プレイCRT上に表示し、あるいはプリンタPRT
により印字出力する。
The keyboard KB is used for entering text, editing, entering calculation formulas, etc. As shown in Figure 3, it has character keys AK, cursor keys CK, and range indication keys.
It has function keys such as HK and calculation execution key EK. The cursor register CR stores the position on the display CRT, that is, the position determined by row and column, and stores sequential numbers from 0 to 39 indicating the position on the display CRT. It changes under the control of the microprocessor CPU as the cursor CA (see Fig. 5) moves. Further, the cursor CA is displayed on the corresponding line and column on the display CRT by the CRT controller CRTC based on the sequential number in the cursor register CR. The buffer register BUF has a capacity of, for example, 40 words, and stores data codes such as sentences and numerical values.As shown in Figure 4, it consists of 5 lines in the vertical direction and 8 digits in the horizontal direction, and its contents are the same as this positional relationship. 8 line digit display
Displayed on CRT via character generator CG. In this way, the microprocessor
The CPU reads a desired character pattern based on the data code stored in the buffer register BUF, displays the character pattern on a display CRT serving as an output means, or displays it on a printer PRT.
Print out by .

次に上述した構成から成る本発明の実施例の動
作を説明する。電源投入後の文章や数値の入力は
公知の技術によつて実施されるので、ここでは詳
しい説明は省略する。今、本装置の初期状態とし
て、バツフアレジスタBUF内には、第5図に示
すような文字パターンに対応したデータコードが
格納されているものとする。計算は以下の手順で
行なわれる。
Next, the operation of the embodiment of the present invention having the above-described configuration will be explained. Input of text and numerical values after power is turned on is performed using a known technique, so detailed explanation will be omitted here. Assume now that in the initial state of this device, a data code corresponding to a character pattern as shown in FIG. 5 is stored in the buffer register BUF. The calculation is performed in the following steps.

カーソルキーCKによりカーソルCAを移動し
て計算したい数値上に合わせ、範囲指示キー
HKを入力する。
Use the cursor key CK to move the cursor CA to the number you want to calculate, then press the range indication key.
Enter HK.

)で指示された位置から更に右方向へカー
ソルCAを移動させ、次の数値上にカーソルCA
を合わせて2回目の範囲指示キーHKを入力す
る。
) move the cursor CA further to the right from the indicated position, and place the cursor CA on the next value.
and enter the range indication key HK for the second time.

次に、計算式の存在する位置にカーソルを合
せる。
Next, place the cursor at the position where the calculation formula exists.

次に、計算実行キーEKを入力する。 Next, enter the calculation execution key EK.

上述の手順により1回目のカーソル位置と2回
目のカーソル位置によつて指示された範囲の数値
が手順)で指示された計算式によつて引用され
て計算が行なわれ、計算式中で指示される表示位
置にその結果が表示される。
According to the above procedure, the numerical values in the range specified by the first and second cursor positions are quoted by the calculation formula specified in step (step), and calculation is performed. The results will be displayed at the display position.

次に、第5図、第6図、第7図および第8図に
基づいて計算が実行される動作を更に具体的に説
明する。第7図示のフローチヤートの各ステツプ
では次のような処理を行う。
Next, the operation of performing calculations will be explained in more detail based on FIGS. 5, 6, 7, and 8. In each step of the flowchart shown in FIG. 7, the following processing is performed.

処理1:キーの入力待ち。Process 1: Waiting for key input.

処理1.1:カーソルキーCKが入力されたか? 1.2:範囲指示キーHKが入力されたか? 1.3:1回目のカーソルキーCKの指定か?
(CFを調べ、0ならYes、1ならNo) 1.4:計算実行キーEKが入力されたか? 処理2:カーソルCAをカーソルレジスタCRに対
応する位置に移動する。
Process 1.1: Was cursor key CK input? 1.2: Was the range indication key HK input? 1.3: Is the cursor key CK specified for the first time?
(Check CF, if 0 is Yes, if 1 is No) 1.4: Was calculation execution key EK input? Process 2: Move cursor CA to the position corresponding to cursor register CR.

処理3:カーソルCAの位置をカーソルセーブメ
モリCSR1に記憶する。フラツグCFを1にセ
ツトする。
Process 3: Store the position of cursor CA in cursor save memory CSR1. Set flag CF to 1.

処理4:カーソルCAの位置をカーソルセーブメ
モリCSR2に記憶する。フラツグCFを0にリ
セツトする。
Process 4: Store the position of cursor CA in cursor save memory CSR2. Reset flag CF to 0.

処理5:カーソルCAの位置をCSR3に記憶し、
カーソルが指示する計算式を、対応するBUF
からKBUFに取込む。
Process 5: Store the cursor CA position in CSR3,
The calculation formula pointed to by the cursor is converted to the corresponding BUF.
Import from to KBUF.

処理6:計算を行ない、その結果をBUFに格納
し、表示する。
Process 6: Perform calculations, store the results in BUF, and display them.

処理7:編集処理等を実行する。Processing 7: Execute editing processing, etc.

次に上述の処理6についてさらに詳述する。 Next, the above-mentioned process 6 will be explained in more detail.

処理6.1 KLENの内容をW1にセツトし、KBUF
の最初の文字をCPUにとり込む。(左端より取
り込む) 処理6.2 アルフアベツトか否かを調べる。yesで
あれば処理6.3に、noであれば処理6.10に移る。
Processing 6.1 Set the contents of KLEN to W1 and write KBUF
Import the first character of into the CPU. (Import from the left end) Process 6.2 Check whether it is an alpha bet. If yes, proceed to process 6.3; if no, proceed to process 6.10.

処理6.3 アルフアベツトに従つて、CSR1,
CSR2で定められた数値範囲より、数値を順
に取り出す。
Processing 6.3 According to Alphabet, CSR1,
Extract numerical values in order from the numerical range specified by CSR2.

処理6.4 IR=0かを調べ、yesであれば処理6.5
へ、noであれば処理6.9へ移る。
Process 6.4 Check if IR=0, if yes, process 6.5
If no, move on to process 6.9.

処理6.5 W1←W1−1 処理6.6 IR=0かを調べ、yesであれば処理6.6
へ、noであれば処理6.7へ移る。
Process 6.5 W1←W1−1 Process 6.6 Check whether IR=0, and if yes, Process 6.6
If no, move on to process 6.7.

処理6.7 W1=0かを調べ、noであれば処処理
6.1へ、yesであれば処理を終了する。
Processing 6.7 Check whether W1=0, and if no, process
Go to 6.1, if yes, end the process.

処理6.8 IRに入力された演算記号の表わす命令
を実行する。
Process 6.8 Execute the instruction represented by the operation symbol input to IR.

IF,IRを0にリセツトする。 Reset IF and IR to 0.

処理6.9 IRに演算命令を表わす記号を取り取り
込む。
Processing 6.9 Load symbols representing arithmetic instructions into IR.

処理6.10 演算命令を表わす記号かを調べ、yes
であれば処理6.11に移り、noであれば処理6.12
に移る。
Process 6.10 Check whether the symbol represents an arithmetic instruction, and select yes
If so, move on to process 6.11, if no, proceed to process 6.12
Move to.

処理6.11 IRに演算命令を表わす記号を取込む。Process 6.11 Load symbols representing arithmetic instructions into IR.

処理6.12 =か、yesであれば処理6.13、そうで
なければその他の処理、 処理6.13 W1←W1−1にし、アルフアベツトが
あれば、計算結果を数値範囲の右端に書き込
む。
Process 6.12 If = or yes, process 6.13; otherwise, process 6.13 Set W1←W1-1, and if there is an alpha bet, write the calculation result to the right end of the numerical range.

上述の処理をさらに説明する。 The above processing will be further explained.

処理1ではキーの入力を待つている。カーソル
キーCKが入力されると、処理2によりカーソル
レジスタCRの内容が変更され、カーソルCAがカ
ーソルレジスタCRに対応する位置に移動し、そ
の位置がデイスプレイCRT上に表示される。
In process 1, a key input is waited. When the cursor key CK is input, the contents of the cursor register CR are changed in process 2, the cursor CA is moved to the position corresponding to the cursor register CR, and that position is displayed on the display CRT.

範囲指示キーHKを入力すると、処理3により
1回目のカーソルレジスタCRの内容がカーソル
セーブメモリCSR1に記憶される。さらにカー
ソルCAを移動し、2回目の範囲指示キーHKを
入力すると処理4によりカーソルレジスタCRの
内容がカーソルセーブメモリCSR2に格納され
る。第5図に示す例では、カーソルセーブメモリ
CSR1の内容は8、カーソルセーブメモリCSR
2の内容は15である。
When the range designation key HK is input, the contents of the first cursor register CR are stored in the cursor save memory CSR1 in process 3. When the cursor CA is further moved and the range designation key HK is input for the second time, the contents of the cursor register CR are stored in the cursor save memory CSR2 in process 4. In the example shown in Figure 5, the cursor save memory
The contents of CSR1 are 8, cursor save memory CSR
The content of 2 is 15.

さらにカーソルを移動させ、計算式の存在する
位置に合せ、計算実行キーEKを入力すると処理
5によつて、その時のカーソル位置(ここでは
27)がCSR3に格納され、さらにCSR3で示さ
れる位置から計算式が取り込まれ計算式メモリ
KBUFに格納される。またKBUF内の文字数が
文字数メモリKLENに5と記憶される。
If you move the cursor further, align it with the position where the calculation formula exists, and input the calculation execution key EK, the current cursor position (here
27) is stored in CSR3, and the calculation formula is imported from the position indicated by CSR3 and stored in the calculation formula memory.
Stored in KBUF. Further, the number of characters in KBUF is stored as 5 in the character number memory KLEN.

次に処理6に移り、バツフアKBUFの内容を
左端より取り込む。今の場合、アルフアベツトの
Aであり、これが最初のアルフアベツトであるの
で、数値範囲の左端より数値をとり出し、メモリ
RAMのW2に入れる。
Next, the process moves to process 6, and the contents of the buffer KBUF are fetched from the left end. In this case, it is alpha-betting A, and this is the first alpha-betting, so take out the number from the left end of the numerical range and store it in memory.
Put it in W2 of RAM.

次に処理6.4に移り、命令がメモリIRにないか
を見る。今の場合、YESなので、処理6.5に移り、
W1の内容をCPUで−1する。次にメモリIF=0
かW1=0かを見るが今の場合、処理6.1にもど
る。再び処理6.1に移り、W1で示された2番目の
データをKBUFより取り出す。処理6.2でNoとな
り、処理6.10でyesとなるので、処理6.11に移り、
命令をメモリIRに入れる。次に処理6.5に移り、
以下前述と同じ事をし、再び処理6.1に移る。次
にW1の内容によりKBUFの「B」が取り込まれ
る。これは処理6.2でアルフアベツトと認められ、
バツフアBUFより「34」がメモリW3に取り込ま
れる。次に処理6.4でnoとなり、メモリIFに1を
セツトする。処理6.5でメモリW1の内容を−1
し、2とする。次に処理6.6に移り、IF=0かを
見る。今の場合、noとなつて、処理6.8で演算し、
その結果をメモリW3に入れる。またIR,IFをリ
セツトする。
Next, move on to process 6.4 and check whether the instruction is in the memory IR. In this case, YES, so move on to process 6.5.
The contents of W1 are decremented by 1 by the CPU. Then memory IF = 0
In this case, return to process 6.1. Moving on to process 6.1 again, the second data indicated by W1 is extracted from KBUF. Process 6.2 returns No, and Process 6.10 returns Yes, so move on to Process 6.11.
Put the instruction into memory IR. Next, move on to processing 6.5,
Do the same thing as above and move on to process 6.1 again. Next, "B" of KBUF is fetched according to the contents of W1. This is recognized as alpha in Process 6.2,
"34" is imported from BUF to memory W3. Next, in process 6.4, the result is no, and 1 is set in the memory IF. In process 6.5, the contents of memory W1 are reduced by -1
and set it to 2. Next, move on to process 6.6 and check whether IF=0. In this case, it is no, and it is calculated in process 6.8,
Put the result into memory W3. Also resets IR and IF.

次に処理6.7を経て、処理6.1にリターンする。
メモリW1で示される内容をKBUFより取り出
す。かかる内容は処理6.12でyesとなり、演算終
了を知り、W1の内容を−1し、次の内容を
KBUFより取り出す。文字であれば、それは演
算結果の位置を示すものであるので、メモリW3
より結果をとり出し、BUF上の数値範囲が定め
られた右端に結果を書き込む。今の場合、B(14)
に4,B(15)に6を書き込む、次に処理6.5に移
り、W1の内容を−1L、処理6.6,6.7でyesとな
り、処理を終了する。
Next, through process 6.7, the process returns to process 6.1.
The contents indicated by memory W1 are retrieved from KBUF. This content becomes yes in process 6.12, and knowing the end of the operation, subtracts 1 from the content of W1 and writes the next content.
Extract from KBUF. If it is a character, it indicates the location of the operation result, so memory W3
Extract the result and write it to the right end of the BUF where the numerical range is defined. In this case, B (14)
Writes 4 in , 6 in B (15), then moves to process 6.5, sets the contents of W1 to -1L, becomes yes in processes 6.6 and 6.7, and ends the process.

上述した例においては、計算対象となる数値は
横方向の1行に入つているものとしたが、縦方向
としても良い。また、マトリツクス状に配置され
た数値が文章中に存在するときは、対角線を指示
し、入力された計算式に従つて、横方向の計算を
同式により複数行同時に行なえるようにしても良
い。なお、上述の実施例では、文章中の引用する
計算式の文字として左から順にA〜Zを使用して
いるが、(1)〜(9)の番号や適宜の符号等キーボード
上のキーより入力できるものであれば各種キー入
力を用いることができる。
In the above example, it is assumed that the numerical values to be calculated are contained in one line in the horizontal direction, but they may be placed in the vertical direction. Also, when there are numbers arranged in a matrix in the text, you can specify diagonal lines so that horizontal calculations can be performed simultaneously on multiple lines according to the input formula. . In addition, in the above example, A to Z are used in order from the left as the letters of the calculation formula to be quoted in the text, but numbers (1) to (9) and appropriate symbols can be changed from keys on the keyboard. Various key inputs can be used as long as they can be input.

上述した例においては、計算式中には文字と演
算子のみを使用しているが、A+B+10=Cなど
のように直接数値を計算式中に使用しても計算が
可能な様にしてもよい。
In the above example, only characters and operators are used in the calculation formula, but it is also possible to use numerical values directly in the calculation formula, such as A+B+10=C. .

このように本発明によれば、文章中の数値を用
いて計算を行なう場合、文章の作成以前に、あら
かじめ特別なキー操作を行なつて計算式を入力し
ておく必要がなく、文章中の計算式を用いて計算
を行なうことができる。更に、必要に応じて、画
面上で式を変形して計算を行なうことができるの
で、簡単に計算手順が変更でき、文字処理装置に
おける計算処理が、簡便になるという効果があ
る。
According to the present invention, when performing calculations using numerical values in a text, there is no need to enter a calculation formula by performing special key operations before creating the text. Calculations can be performed using formulas. Furthermore, since calculations can be performed by modifying formulas on the screen as necessary, the calculation procedure can be easily changed, and the calculation process in the character processing device is simplified.

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

第1図は本発明文字処理装置の1実施例を示す
ブロツク図、第2図はその計算式メモリの内容を
示す線図、第3図は同じくそのキーボードの配置
例を示す配置図、第4図は同じくそのバツフアレ
ジスタとCRTとの位置関係を示す線図、第5図
は本発明文字処理装置における初期のCRT表示
例を示す線図、第6図は同じく計算した結果を表
示するCRT画面を示す線図、第7図は本発明文
字処理装置における動作手順の一例を示すフロー
チヤート図、第8図は処理6の詳細フローチヤー
ト図である。 CPU……マイクロプロセツサ、AB……アドレ
スバス、CB……コントロールバス、DB……デー
タバス、ROM……制御メモリ、RAM……ラン
ダムアクセスメモリ、CSR1,CSR2,CSR3
……カーソルセーブメモリ、KBUF……計算式
メモリ、KLEN……文字数メモリ、KB……キー
ボード、CR……カーソルレジスタ、BUF……バ
ツフアレジスタ、CG……キヤラクタジエネレー
タ、CRTC……CRTコントローラ、CRT……デ
イスプレイ、PRT……プリンタ、CA……カーソ
ル。
FIG. 1 is a block diagram showing one embodiment of the character processing device of the present invention, FIG. 2 is a line diagram showing the contents of the calculation formula memory, FIG. 3 is a layout diagram showing an example of the keyboard layout, and FIG. The figure is a diagram showing the positional relationship between the buffer register and the CRT, Figure 5 is a diagram showing an initial CRT display example in the character processing device of the present invention, and Figure 6 is a diagram showing the CRT displaying the calculated results. 7 is a flowchart showing an example of the operating procedure in the character processing apparatus of the present invention, and FIG. 8 is a detailed flowchart of process 6. CPU...Microprocessor, AB...Address bus, CB...Control bus, DB...Data bus, ROM...Control memory, RAM...Random access memory, CSR1, CSR2, CSR3
...Cursor save memory, KBUF...Calculation formula memory, KLEN...Character count memory, KB...Keyboard, CR...Cursor register, BUF...Buffer register, CG...Character generator, CRTC...CRT controller , CRT...display, PRT...printer, CA...cursor.

Claims (1)

【特許請求の範囲】 1 文字、数字及び記号を含む情報を入力する入
力手段と、 該入力手段により入力された情報を記憶する第
1の記憶手段と、 該第1の記憶手段に記憶された情報を表示させ
る表示制御手段と、 該表示制御手段により表示された情報の中で、
数字列で表わされた所望の数値群を指定する第1
の指定手段と、 前記表示制御手段により表示された情報の中
で、変数部分が文字で表わされた所望の代数演算
式を指定する第2の指定手段と、 演算の実行を指示する指示手段と、 該指示手段の指示を受けて、前記第2の指定手
段により指定された代数演算式の各変数部分に、
前記第1の指定手段により指定された数値群の各
数値を、表示上での出現順に対応させて代入した
式の演算を実行する実行手段とを有することを特
徴とする文字処理装置。 2 前記実行手段による演算の結果を、前記第1
の指定手段により指定された数値群中で、前記第
2の指定手段により指定された代数演算式におけ
る式の値を表わす変数部分に表示上の出現順で対
応する数値の位置に表示させるように制御する第
2の表示制御手段を有することを特徴とする特許
請求の範囲第1項記載の文字処理装置。
[Scope of Claims] 1. An input means for inputting information including letters, numbers, and symbols; a first storage means for storing information input by the input means; and information stored in the first storage means. A display control means for displaying information, and among the information displayed by the display control means,
The first one specifies the desired group of numbers represented by a string of numbers.
a second specifying means for specifying a desired algebraic expression in which the variable part is expressed in characters among the information displayed by the display control means; and an instruction means for instructing execution of the operation. and, upon receiving the instruction from the instruction means, for each variable part of the algebraic expression specified by the second specification means,
A character processing device comprising: an execution means for executing an operation of an expression in which each numerical value of the numerical value group specified by the first specifying means is substituted in a manner corresponding to the order of appearance on the display. 2. The result of the calculation by the execution means is transferred to the first
Among the numerical values specified by the specifying means, the variable part representing the value of the algebraic expression specified by the second specifying means is displayed at the position of the corresponding numerical value in the order of appearance on the display. 2. The character processing device according to claim 1, further comprising second display control means for controlling.
JP57017205A 1982-02-05 1982-02-05 Character processor Granted JPS58134328A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57017205A JPS58134328A (en) 1982-02-05 1982-02-05 Character processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57017205A JPS58134328A (en) 1982-02-05 1982-02-05 Character processor

Publications (2)

Publication Number Publication Date
JPS58134328A JPS58134328A (en) 1983-08-10
JPH0545988B2 true JPH0545988B2 (en) 1993-07-12

Family

ID=11937428

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57017205A Granted JPS58134328A (en) 1982-02-05 1982-02-05 Character processor

Country Status (1)

Country Link
JP (1) JPS58134328A (en)

Also Published As

Publication number Publication date
JPS58134328A (en) 1983-08-10

Similar Documents

Publication Publication Date Title
JPS6359188B2 (en)
JPH0545988B2 (en)
JPS58132851A (en) Character processor
JPH0474751B2 (en)
JPH0445875B2 (en)
JP2738851B2 (en) Input data processing display method using multiple cursors
JPH0585929B2 (en)
JPH0410105B2 (en)
JPS6236252B2 (en)
JP3083665B2 (en) Sentence information processing equipment
JPH0479024B2 (en)
JP2600654B2 (en) Document processing device
JPH0640325B2 (en) Writing device
JPH0734233B2 (en) How to create a graph
JP2944666B2 (en) Character processor
JPH0532781B2 (en)
JPH0225547B2 (en)
JP3236039B2 (en) Character processing apparatus and method
JPS62266652A (en) Word processor
JPH0545987B2 (en)
JPH0447317B2 (en)
JPH0467210B2 (en)
JPS59180620A (en) Document formation device
JPH0480421B2 (en)
JPS5924340A (en) Character processor