JPH0373015A - Print processing system for object list - Google Patents
Print processing system for object listInfo
- Publication number
- JPH0373015A JPH0373015A JP1209967A JP20996789A JPH0373015A JP H0373015 A JPH0373015 A JP H0373015A JP 1209967 A JP1209967 A JP 1209967A JP 20996789 A JP20996789 A JP 20996789A JP H0373015 A JPH0373015 A JP H0373015A
- Authority
- JP
- Japan
- Prior art keywords
- printing
- text
- line
- line number
- 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
Links
- 238000003672 processing method Methods 0.000 claims description 12
- 238000010586 diagram Methods 0.000 description 4
- 238000000034 method Methods 0.000 description 4
- 239000002699 waste material Substances 0.000 description 1
Landscapes
- Devices For Executing Special Programs (AREA)
- Stored Programmes (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はオブジェクトリストの印字処理方式に関し、特
にコンピュータシステムにおけるコンパイラ等が出力す
るオブジェクトリストを印字するオブジェクトリストの
印字処理方式に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an object list printing processing method, and more particularly to an object list printing processing method for printing an object list output by a compiler or the like in a computer system.
〔従来の技術)
従来、この種のオブジェクトリストの印字処理方式では
、コンパイラ等の入力であるソースプログラム中の全て
のソーステキストに対応するオブジェクトテキストを有
するオブジェクトリストが印字されていた。[Prior Art] Conventionally, in this type of object list printing processing method, an object list having object texts corresponding to all source texts in a source program that is input to a compiler or the like is printed.
上述した従来のオブジェクトリストの印字処理方式では
、ソースプログラム中の全てのソーステキストに対応す
るオブジェクトテキストを有するオブジェクトリストが
印字されているので、必要としないオブジェクトテキス
トが印字されるという欠点がある(この欠点により、印
字用紙や印字に要する処理時間の無駄が発生したり、オ
ブジェクトリストを参照する場合の煩雑さが生じたりす
る)。In the conventional object list printing processing method described above, an object list having object texts corresponding to all the source texts in the source program is printed, so there is a drawback that unnecessary object texts are printed ( This drawback results in waste of printing paper and processing time required for printing, and inconvenience when referring to the object list).
本発明の目的は、上述の点に鑑み、必要なオブジェクト
テキスト(ソースプログラム側から考えると、必要なソ
ーステキストに対応するオブジェクトテキスト)のみを
印字し、必要としないオブジェクトテキストの印字を印
刷することができるオブジェクトリストの印字処理方式
を提供することにある。In view of the above-mentioned points, an object of the present invention is to print only necessary object text (object text corresponding to necessary source text from the source program side) and to print out unnecessary object text. The object of the present invention is to provide a printing processing method for object lists that allows for the printing of object lists.
〔課題を解決するための手段)
本発明のオブジェクトリストの印字処理方式は、印字行
指示情報を入力し記憶する印字行記憶手段と、この印字
行記憶手段により記憶された印字行指示情報により印字
が指示されている行番号の範囲内の行番号テキストを有
する行番号オブジェクトテキストを入力し当該行番号オ
ブジェクトテキスト中のオブジェクトテキストを印字用
レコードエリアに移送するオブジェクト入力手段と、こ
のオブジェクト入力手段により印字用レコードエリアに
移送されたオブジェクトテキストをオブジェクトリスト
に印字する印字手段と、前記印字行記憶手段、前記オブ
ジェクト入力手段および前記印字手段を制御する制御手
段とを有する。[Means for Solving the Problems] The object list printing processing method of the present invention includes a print line storage means for inputting and storing print line instruction information, and a printing process using the print line instruction information stored by the print line storage means. an object input means for inputting a line number object text having a line number text within the specified line number range and transferring the object text in the line number object text to a print record area; The apparatus includes a printing means for printing the object text transferred to the printing record area on an object list, and a control means for controlling the print line storage means, the object input means, and the printing means.
本発明のオブジェクトリストの印字処理方式では、印字
行記憶手段が印字行指示情報を入力し記憶し、オブジェ
クト人力手段が印字行記憶手段により記憶された印字行
指示情報により印字が指示されている行番号の範囲内の
行番号テキストを有する行番号オブジェクトテキストを
入力し当該行番号オブジェクトテキスト中のオブジェク
トテキストを印字用レコードエリアに移送し、印字手段
がオブジェクト入力手段により印字用レコードエリアに
移送されたオブジェクトテキストをオブジェクトリスト
に印字し、制御手段が印字行記憶手段、オブジェクト入
力手段および印字手段を制御する。In the object list printing processing method of the present invention, the print line storage means inputs and stores print line instruction information, and the object manual means prints the lines that are instructed to be printed based on the print line instruction information stored by the print line storage means. A line number object text with a line number text within the number range is input, the object text in the line number object text is transferred to the print record area, and the print means is transferred to the print record area by the object input means. The object text is printed on the object list, and the control means controls the print line storage means, the object input means, and the printing means.
次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.
第1図は、本発明のオブジェクトリストの印字処理方式
の一実施例の構成を示すブロック図である。本実施例の
オブジェクトリストの印字処理方式は、印字行指示情報
(オブジェクトリスト中に印字させたいオブジェクトテ
キストに対応するソーステキストの行番号(または行番
号の範囲)を指示する情報、各行番号(または行番号の
範囲〉を示す各レコードを印字行という)を記憶する印
字行指示情報記憶装置6と、オブジェクト(オブジェク
トテキストとそのオブジェクトテキストに対応するソー
ステキストの行番号を示す行番号テキストとからなる行
番号オブジェクトテキストの集合。第6図(bl参照)
を記憶するオブジェクト記憶装置7と、オブジェクトリ
ストを印字出力する印字装置8と、印字行記憶手段2に
より入力された印字行指示情報を記憶するメモリ9 (
第6図ta+参照、メモリ9はコンパイラlOの内部の
領域に存在していてもかまわない)と、コンパイラ10
とを含んで構成されている。FIG. 1 is a block diagram showing the configuration of an embodiment of an object list printing processing method according to the present invention. The print processing method for the object list in this embodiment consists of printing line instruction information (information indicating the line number (or range of line numbers) of the source text corresponding to the object text to be printed in the object list, each line number (or a print line instruction information storage device 6 that stores a line number range (each record indicating a range of line numbers is referred to as a print line); and an object (consisting of an object text and a line number text indicating the line number of the source text corresponding to the object text). Collection of line number object texts. Figure 6 (see bl)
an object storage device 7 for storing the object list, a printing device 8 for printing out the object list, and a memory 9 for storing the print line instruction information inputted by the print line storage means 2 (
(See Figure 6 ta+, memory 9 may exist in the internal area of the compiler lO) and the compiler 10.
It is composed of:
コンパイラlOは、印字行記憶手段2.オブジェクト入
力手段3および印字手段5の各手段を呼び出して制御す
る制御手段1と、印字行指示情報記憶装置6から印字行
指示情報を入力しメモリ9に記憶させる印字行記憶手段
2と、メモリ9に記憶されている印字行指示情報中の各
印字行により指示されている行番号の範囲(1行だけを
指示している印字行の場合には、範囲が1行であると考
える)内の行番号テキストを有する行番号オブジェクト
テキストを入力し当該行番号オブジェクトテキスト中の
オブジェクトテキストを印字用レコードエリア4に移送
するオブジェクト入力手段3と、印字手段5による印字
の対象のオブジェクトテキストを記憶するための領域で
ある印字用レコードエリア4と、オブジェクト入力手段
3により印字用レコードエリア4に移送されたオブジェ
クトテキストをオブジェクトリスト(印字装置8から印
字出力されるオブジェクトリスト)に印字する印字手段
5とを含んで構成されている。The compiler IO has a print line storage means 2. A control means 1 that calls and controls each means of the object input means 3 and the printing means 5, a print line storage means 2 that inputs print line instruction information from a print line instruction information storage device 6 and stores it in a memory 9, and a memory 9. Within the range of line numbers indicated by each print line in the print line instruction information stored in Object input means 3 for inputting a line number object text having line number text and transferring the object text in the line number object text to a print record area 4; and for storing object text to be printed by the printing means 5. A printing record area 4, which is an area of It is composed of:
第2図を参照すると、制御手段lの処理は、印字行記憶
手段呼出し処理ステップ20と、オブジェクト入力手段
呼出し処理ステップ21と、終了判定ステップ22と、
印字手段呼出し処理ステップ23とからなる。Referring to FIG. 2, the processing of the control means 1 includes a print line storage means call processing step 20, an object input means call processing step 21, an end determination step 22,
It consists of a printing means calling processing step 23.
第3図を参照すると、印字行記憶手段2の処理は、印字
行指示情報人力処理ステップ30と、印字行指示情報記
憶処理ステップ31とからなる。Referring to FIG. 3, the processing of the print line storage means 2 consists of a print line instruction information manual processing step 30 and a print line instruction information storage processing step 31.
第4図を参照すると、オブジェクト入力手段3の処理は
、印字行入力処理ステップ40と、印字行終了判定ステ
ップ41と、行番号オブジェクトテキスト人力処理ステ
ップ42と、行番号オブジ1クトテキスト終了判定ステ
ップ43と、レコードエリア移送処理ステップ44とか
らなる。Referring to FIG. 4, the processing of the object input means 3 includes a print line input processing step 40, a print line end determination step 41, a line number object text manual processing step 42, and a line number object text end determination step 41. 43, and a record area transfer processing step 44.
第5図を参照すると、印字手段5の処理は、印字用レコ
ードエリア入力処理ステップ50と、印字処理ステップ
51とからなる。Referring to FIG. 5, the processing of the printing means 5 consists of a printing record area input processing step 50 and a printing processing step 51.
次に、このように構成された本実施例のオブジェクトリ
ストの印字処理方式の動作について説明する。Next, the operation of the object list printing processing method of this embodiment configured as described above will be explained.
コンパイラ10内の制御手段1は、第2図に示すように
、まず印字行記憶手段2を呼び出して制御を移す(ステ
ップ20)。As shown in FIG. 2, the control means 1 in the compiler 10 first calls the print line storage means 2 and transfers control (step 20).
制御を移された印字行記憶手段2は、以下に示すような
処理を行う(第3図参照)。The print line storage means 2 to which control has been transferred performs the following processing (see FIG. 3).
まず、印字行指示情報記憶装置6から、いくつかの印字
行(印字行指示情報のレコード)からなる印字行指示情
報を入力する(ステップ30)。First, print line instruction information consisting of several print lines (records of print line instruction information) is input from the print line instruction information storage device 6 (step 30).
次に、ステップ30で入力した印字行指示情報をメモリ
9に記憶しくステップ31)、制御手段1に制御を戻す
。Next, the print line instruction information input in step 30 is stored in the memory 9 (step 31), and control is returned to the control means 1.
制御を戻された制御手段1は、オブジェクト入力手段3
を呼び出して制御を移す(ステップ21)。The control means 1 to which control has been returned is the object input means 3
is called to transfer control (step 21).
制御を移されたオブジェクト入力手段2は、以下に示す
ような処理を行う(第4図参照〉。The object input means 2 to which control has been transferred performs the following processing (see FIG. 4).
まず、印字行記憶手段2によりメモリ9に記憶された印
字行指示情報から1つの印字行を取り出す(入力する)
(ステップ40)。First, one print line is taken out (input) from the print line instruction information stored in the memory 9 by the print line storage means 2.
(Step 40).
次に、ステップ40で印字行を取り出せたくこの状態を
「継続」という〉か、すでに印字行指示情報から全ての
印字行を取り出しておりステップ40で印字行を取り出
せなかった(この状態を「終了」という)かを判定する
(ステップ41)。Next, if you were able to retrieve the print line in step 40, this state is called "Continue", or if you have already taken out all the print lines from the print line instruction information and could not retrieve the print line in step 40 (this state is called "End"). ”) (step 41).
この判定で「継続」である場合には、ステップ40で取
り出した印字行により指示されている行番号の範囲内の
先頭の行番号に係る行番号オブジェクトテキストへの位
置付けをオブジェクト記憶装置7内のオブジェクトに対
して行い、当該印字行くステップ40で取り出した印字
行)により指示されている行番号の範囲内の行番号テキ
ストを有する行番号オブジェクトテキストを入力する(
ステップ42)。If the determination is "Continue", position the line number object text related to the first line number within the range of line numbers indicated by the print line retrieved in step 40 in the object storage device 7. input a line number object text having a line number text within the range of line numbers indicated by the print line retrieved in step 40 for the object and printing the object (
Step 42).
次に、ステップ42で行番号オブジェクトテキストを入
力できた(この状態を「継続」という)か、当該印字行
により指示されている行番号の範囲内の先頭の行番号が
オブジェクト記憶装置7内のオブジェクト中の最後の行
番号オブジェクトテキストに係る行番号よりも大きくて
ステップ42で行番号オブジェクトテキストを入力でき
なかった(この状態を「終了」という)かを判定する(
ステップ43)。Next, in step 42, the line number object text can be input (this state is called "continuation"), or the first line number within the range of line numbers indicated by the print line concerned is in the object storage device 7. Determine whether the last line number in the object is larger than the line number associated with the object text and the line number object text could not be input in step 42 (this state is referred to as "end").
Step 43).
この判定で「継続」である場合には、ステップ42で入
力した行番号オブジェクトテキスト中のオブジェクトテ
キストだけを印字用レコードエリア4に移送する(ステ
ップ44〉。If the determination is "Continue", only the object text in the line number object text input in step 42 is transferred to the print record area 4 (step 44).
ステップ41もしくは43の判定で「終了」である場合
またはステップ44の処理が終了した場合には、制御手
段1に制御を戻す(この場合に、上述のステップ41お
よび43の判定結果の「41続」または「終了」を示す
情報を制御手段1に引き渡す)。If the determination in step 41 or 43 is "complete" or if the process in step 44 is completed, control is returned to the control means 1 (in this case, if the determination result in steps 41 and 43 is "41 continuation") ” or information indicating “end” is delivered to the control means 1).
制御を戻された制御手段1は、オブジェクト入力手段3
から引き渡されたステップ41および43の判定結果を
示す情報のいずれかが「終了」 (以下、単に「終了」
という)であるか、ステップ41およびステップ43の
判定結果を示す情報の両者が「継続」(以下、単に「4
1!続」という)であるかを判定する(ステップ22)
。The control means 1 to which control has been returned is the object input means 3
Either of the information indicating the determination results of steps 41 and 43 handed over from
) or both of the information indicating the determination results of step 41 and step 43 are "continuation" (hereinafter simply "4").
1! (step 22)
.
この判定で「終了」である場合には、本実施例のオブジ
ェクトリストの印字処理方式の処理を終了する。If the determination is "finished", the processing of the object list printing processing method of this embodiment is finished.
ステップ22の判定で「継続」である場合には、印字手
段5を呼び出して制御を移す(ステップ23)。If the determination in step 22 is "continuation", the printing means 5 is called and control is transferred (step 23).
制御′nを移された印字手段5は、以下に示すような処
理を行う(第5図参照)。The printing means 5 to which control has been transferred performs the following processing (see FIG. 5).
まず、印字用レコードエリア4の内容(オブジェクト入
力手段3により移送されたオブジェクトテキスト)を入
力する(ステップ50)。First, the contents of the print record area 4 (object text transferred by the object input means 3) are input (step 50).
次に、ステップ50で入力したオブジェクトテキストを
オブジェクトリストに印字しくステップ51)、制御手
段1に制御を戻す。Next, the object text input in step 50 is printed in the object list (step 51), and control is returned to the control means 1.
制御を戻された制御手段1は、ステップ21のオブジェ
クト人力手段呼出し処理から上述の処理を繰り返す。The control means 1 to which control has been returned repeats the above-described processing from the object manual means call processing in step 21.
第6図fatおよびfb)は、以上のような処理の過程
で印字行記憶手段2によりメモリ9に記憶される印字行
指示情報の内容の一例およびオブジェクト入力手段3に
より入力されるオブジェクト記il装置7内のオブジェ
クトの内容の一例を示す図である。FIG. 6 (fat and fb) shows an example of the contents of the print line instruction information stored in the memory 9 by the print line storage means 2 in the process of the above processing, and an object recording device input by the object input means 3. 7 is a diagram illustrating an example of the contents of objects in FIG.
これらの図に示すような場合には、第6図(a)中の印
字行■および■に対応する第6図(bl中の行番号オブ
ジェクトテキスト中のオブジェクトテキスト(B)、
(C)および(D)はオブジェクトリストの一部とし
て印字手段5により印字されるが、オブジェクトテキス
ト(A)は印字が抑制される。In the case shown in these figures, the object text (B) in the object text (line number in bl) corresponding to the printed lines ■ and ■ in FIG.
(C) and (D) are printed by the printing means 5 as part of the object list, but printing of the object text (A) is suppressed.
〔発明の効果〕 以上説明したように本発明は、印字行記憶手段。〔Effect of the invention〕 As explained above, the present invention provides a print line storage means.
オブジェクト入力手段、印字手段および制御手段を設け
ることにより、必要なオブジェクトテキストだけを選択
的に印字することを可能にし、必要としないオブジェク
トテキストが印字されてしまう従来の欠点を解消するこ
とができるという効果がある。By providing an object input means, a printing means, and a control means, it is possible to selectively print only the necessary object text, and it is possible to eliminate the conventional drawback that unnecessary object text is printed. effective.
第1図は本発明の一実施例の構成を示すプロソク図、
第2図は第1図中の制御手段の処理を示す流れ図、
第3図は第1図中の印字行記憶手段の処理を示す流れ図
、
第4図は第1図中のオブジェクト入力手段の処理を示す
流れ図、
第5図は第1図中の印字手段の処理を示す流れ図、
第6図(alは第1図中の印字行記憶手段によりメモリ
に記憶される印字行指示情報の内容の一例を示す図、
第6図(b)は第1図中のオブジェクト人力手段により
入力されるオブジェクト記憶装置内のオブジェクトの内
容の一例を示す図である。
図において、
1・・・制御手段、
2・・・印字行記憶手段、
3・・・オブジェクト入力手段、
4・・・印字用レコードエリア、
5・・・印字手段、
6・・・印字行指示情報記憶装置、
7・・・オブジェクト記憶装置、
8・・・印字装置、
9・・・メモリ、
10・・・コンパイラである。FIG. 1 is a process diagram showing the configuration of an embodiment of the present invention, FIG. 2 is a flowchart showing the processing of the control means in FIG. 1, and FIG. 3 is a flowchart showing the processing of the print line storage means in FIG. FIG. 4 is a flowchart showing the processing of the object input means in FIG. 1; FIG. 5 is a flowchart showing the processing of the printing means in FIG. 1; A diagram showing an example of the contents of the print line instruction information stored in the memory by the line storage means, FIG. 6(b) is an example of the contents of the object in the object storage device input by the object manual means in FIG. In the figure, 1... Control means, 2... Print line storage means, 3... Object input means, 4... Record area for printing, 5... Printing means, 6 . . . Print line instruction information storage device, 7. Object storage device, 8. Printing device, 9. Memory, 10. Compiler.
Claims (1)
より印字が指示されている行番号の範囲内の行番号テキ
ストを有する行番号オブジェクトテキストを入力し当該
行番号オブジェクトテキスト中のオブジェクトテキスト
を印字用レコードエリアに移送するオブジェクト入力手
段と、 このオブジェクト入力手段により印字用レコードエリア
に移送されたオブジェクトテキストをオブジェクトリス
トに印字する印字手段と、 前記印字行記憶手段、前記オブジェクト入力手段および
前記印字手段を制御する制御手段とを有することを特徴
とするオブジェクトリストの印字処理方式。[Claims] Print line storage means for inputting and storing print line instruction information, and line number text within the range of line numbers where printing is instructed by the print line instruction information stored by the print line storage means. an object input means for inputting a line number object text having a row number object text and transferring the object text in the line number object text to a print record area; and an object input means for transferring the object text transferred to the print record area by the object input means to an object list. 1. A printing processing method for an object list, comprising: a printing means for printing; and a control means for controlling the print line storage means, the object input means, and the printing means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1209967A JPH0373015A (en) | 1989-08-14 | 1989-08-14 | Print processing system for object list |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1209967A JPH0373015A (en) | 1989-08-14 | 1989-08-14 | Print processing system for object list |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0373015A true JPH0373015A (en) | 1991-03-28 |
Family
ID=16581649
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1209967A Pending JPH0373015A (en) | 1989-08-14 | 1989-08-14 | Print processing system for object list |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0373015A (en) |
-
1989
- 1989-08-14 JP JP1209967A patent/JPH0373015A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4996640A (en) | Data processing system | |
| JPH0373015A (en) | Print processing system for object list | |
| JPS593624A (en) | Print output control system | |
| US4460971A (en) | Terminal apparatus using register information to determine the meaning of a buffer stored field defining character | |
| JPH05298003A (en) | Data processing device | |
| JPS60251465A (en) | Character editing processing system | |
| JP2919396B2 (en) | Document maker | |
| JP3358113B2 (en) | Program creation device for programmable controller | |
| JPH0689299A (en) | Automatic input picture setting system | |
| JPH05189011A (en) | Programming device | |
| JPH04199430A (en) | Queue control system with priority | |
| JPH01136280A (en) | Image processor | |
| JPS6051937A (en) | Document printing control system | |
| JPS62216028A (en) | Hard copy control system | |
| JPH04248652A (en) | Dma controller | |
| JPH02232727A (en) | Information processor | |
| JPH0740236B2 (en) | Main memory contents saving method | |
| JPS62271142A (en) | Programming tool | |
| JPS6168631A (en) | Document print processing system | |
| JPH0573390A (en) | Deadlock handling process system for data base | |
| JPH0410048A (en) | Information output device | |
| JPS6142290B2 (en) | ||
| JPH0654019A (en) | Method and device for selecting communication control procedure | |
| JPH07200647A (en) | Design support device | |
| JPS62271141A (en) | Programming tool |