JPH01312627A - System for updating program - Google Patents

System for updating program

Info

Publication number
JPH01312627A
JPH01312627A JP14553588A JP14553588A JPH01312627A JP H01312627 A JPH01312627 A JP H01312627A JP 14553588 A JP14553588 A JP 14553588A JP 14553588 A JP14553588 A JP 14553588A JP H01312627 A JPH01312627 A JP H01312627A
Authority
JP
Japan
Prior art keywords
program
file
screen
screen control
updated
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
JP14553588A
Other languages
Japanese (ja)
Inventor
Yasuo Koyama
康夫 小山
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP14553588A priority Critical patent/JPH01312627A/en
Publication of JPH01312627A publication Critical patent/JPH01312627A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To make an input file and an output file the same and to prevent the confusion of the files by providing an editing file in the generation and updating processing of a program having plural screen control programs. CONSTITUTION:A program generator 6 reads the program to be updated from the input file 1 and is edited as the permutation of the screen control programs being the display unit of a screen 4, and written into the editing file 3 at the updating time of the program. The initial screen control program in the editing file 3 is then read by the program generator 6 into a program buffer 7, displayed in the screen 4, and the object of a processing comes to the content of the editing file 3. When the content displayed in the screen 4 needs correction, an operator inputs correction information from a keyboard 5 and corrects the content on the screen 4. Thus, the confusion of the input and output files can be prevented.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、インタプリタ用のロードモジュールを直接出
力するプログラムジェネレータにおいて、表示の際に複
数の画面にわたるプログラムを生成して更新する方式に
関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a method for generating and updating a program spanning multiple screens during display in a program generator that directly outputs a load module for an interpreter.

(従来の技術) 従来、この種のプログラムジェネレータは、画面で編集
された内容を直接ファイルへ出力することによりプログ
ラムを生成し、また、そのファイルから読込んだ内容を
画面に表示し、それを更新して直接ファイルへ出力する
ことによりプログラムを更新していた。
(Prior art) Conventionally, this type of program generator generates a program by directly outputting the content edited on the screen to a file, and also displays the content read from the file on the screen and displays it. The program was updated by updating and outputting directly to a file.

そこで、表示の際に複数画面にわたるプログラムを更新
するためには、画面ごとに読込み、更新及び出力を繰返
す必要がある。
Therefore, in order to update a program that spans multiple screens during display, it is necessary to repeat reading, updating, and outputting for each screen.

(発明が解決しようとする課題) 上述した従来のプログラムジェネレータにおいては、画
面上で更新した内容を直接ロードモジュールファイルへ
出力していたので、以下のような課題があった。
(Problems to be Solved by the Invention) In the conventional program generator described above, the contents updated on the screen are directly output to the load module file, so there are the following problems.

(1)入力ファイルと出力ファイルとを別にしなければ
ならないので、複数回更新していくうちに、どれが最新
のファイルかを識別できなくなるという危険性がある。
(1) Since the input file and the output file must be separated, there is a risk that it will become impossible to identify which file is the latest file after multiple updates.

(2)生成または更新した内容は、1画面表示分のプロ
グラム(画面制御プログラム)が完了した時点で直接フ
ァイルへ出力されるので、1つの画面制御プログラムの
生成または更新が完了した時点では、それより前の画面
制御グログラムを更新することができない。
(2) The generated or updated content is directly output to a file when the program for one screen display (screen control program) is completed, so when the generation or update of one screen control program is completed, Unable to update previous screen control program.

(3)更新した内容が直接ファイルへ出力されるので、
複数の画面制御プログラムを持つプログラムを更新する
ためには、最初の画面制御プログラムから順番に更新す
る必要があるので、目的の部分を探すまでに時間がかか
る。
(3) The updated contents are output directly to the file, so
In order to update a program that has multiple screen control programs, it is necessary to update the program in order starting from the first screen control program, so it takes time to find the desired part.

(4)1つのプログラムを生成または更新している間に
他のプログラムを参照することができない。
(4) While one program is being generated or updated, other programs cannot be referenced.

(課題を解決するための手段) 上述の課題を解決するために本発明が提供するプログラ
ムの更新方式は、直接ロードモジュールを扱うジェネレ
ータにおけるプログラム更新方式であって、更新したプ
ログラムを格納する出力ファイルと、更新するプログラ
ムを格納する入力ファイルと、この入力ファイルに格納
されている前記更新するプログラムを画面表示単位であ
る画面制御プログラムの順列に編集して格納する編集フ
ァイルと、更新対象となる前記画面制御プログラムを保
持するプログラムバッファと、このプログラムバッファ
に保持されている前記画面制御プログラムを表示する画
面と、この画面に表示されている画面制御プログラムを
更新する内容を入力し、更新後の前記画面制御プログラ
ムを前記プログラムバッファから前記出力ファイルへ出
力する指示を行うキーボードとを有することを特徴とす
る。
(Means for Solving the Problems) A program update method provided by the present invention in order to solve the above-mentioned problems is a program update method in a generator that directly handles load modules, and includes an output file that stores an updated program. an input file that stores the program to be updated, an edit file that stores the program to be updated stored in this input file edited into the permutation of the screen control program that is the screen display unit, and the above that is the update target. Input a program buffer that holds the screen control program, a screen that displays the screen control program held in this program buffer, and the content to update the screen control program displayed on this screen, and update the screen control program after the update. The present invention is characterized by comprising a keyboard for issuing an instruction to output a screen control program from the program buffer to the output file.

(実施例) 以下−本発明の一実施例について図面を参照して説明す
る。
(Example) Hereinafter, an example of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例のプログラムの更新方式の構
成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of a program update method according to an embodiment of the present invention.

図中、1は入力ファイル、2は出力ファイル、3は編集
ファイル、4は画面、5はキーボード、6はプログラム
ジェネレータ、7はプログラムバッファをそれぞれ示す
In the figure, 1 is an input file, 2 is an output file, 3 is an edit file, 4 is a screen, 5 is a keyboard, 6 is a program generator, and 7 is a program buffer.

プログラム更新時には、入力ファイル1から更新するプ
ログラムがプログラムジェネレータ6によって読込まれ
、画面4の表示単位である画面制御プログラムの順列と
して編集され、編集ファイル3へ書込まれる。その後に
、編集ファイル3の最初の画面制御プログラムがプログ
ラムジェネレータ6によってプログラムバッファ7へ読
込まれ、画面4に表示される。以後、処理の対象は編集
ファイル3の内容となる。操作者は、画面4に表示され
ている内容を修正する必要があるときには、キーボード
5から修正情報を入力して画面4上の内容を修正する。
When updating a program, the program to be updated is read from the input file 1 by the program generator 6, edited as a sequence of screen control programs that are display units of the screen 4, and written to the editing file 3. Thereafter, the first screen control program of the edit file 3 is read into the program buffer 7 by the program generator 6 and displayed on the screen 4. Thereafter, the contents of the edit file 3 will be processed. When the operator needs to modify the content displayed on the screen 4, the operator inputs modification information from the keyboard 5 to modify the content on the screen 4.

また、別の画面制御プログラムの更新が必要な場合には
、キーボード5から対象となる画面番号を指定すること
によって、指定された画面番号に対応する画面制御プロ
グラムが編集ファイル3がらプログラムバッファ7に読
込まれ、画面4に表示される。操作者は、画面4上で修
正した内容で、プログラムを更新したい場合に、キーボ
ード5にある特定のキーを押下すると、現在画面4上に
表示されている画面制御プログラムが編集ファイル3の
対応する部分に書込まれる。
In addition, if it is necessary to update another screen control program, by specifying the target screen number from the keyboard 5, the screen control program corresponding to the specified screen number is stored in the program buffer 7 from the edit file 3. It is read and displayed on screen 4. When the operator wants to update the program with the contents modified on screen 4, by pressing a specific key on keyboard 5, the screen control program currently displayed on screen 4 will be updated to the corresponding one in edit file 3. written in the section.

次に、mgkファイル3の#!遣を第2図に示す。Next, # of mgk file 3! The flow is shown in Figure 2.

プログラムヘッダ部は入力ファイル1からコピーされる
0画面制御グロダラム#O,#1.・・・。
The program header section is 0 screen control glodarum #O, #1.copied from input file 1. ....

#nは、固定の大きさで、生成できる最大の画面制御プ
ログラムを保証する。入力ファイル1から読込まれた各
画面制御プログラムは、編集ファイル3の該当する画面
制御プログラム#O,#1゜・・・、#nの位置にコピ
ーされる。
#n has a fixed size and guarantees the largest screen control program that can be generated. Each screen control program read from the input file 1 is copied to the position of the corresponding screen control program #O, #1°, . . . , #n in the editing file 3.

このように、編集ファイル3の内容がロードモジュール
ファイルは異なった形式となっているので、操作者は−
プログラム生成時またはプログラム更新時に、ロードモ
ジュール形式とするために、出力ファイル2へ出力する
操作を行う。
In this way, since the contents of edit file 3 are in a different format than the load module file, the operator must -
At the time of program generation or program update, an operation is performed to output to the output file 2 in order to create a load module format.

このときに、出力ファイル2は、入力ファイル1と同じ
であってもよい。
At this time, output file 2 may be the same as input file 1.

さらに、他のプログラムを参照したい場合には、編集フ
ァイル3の任意の画面制御プログラムの位置にそのプロ
グラムの特定の画面制御プログラムを読込むことができ
る。
Furthermore, if it is desired to refer to another program, a specific screen control program of that program can be read into the position of an arbitrary screen control program in the editing file 3.

(発明の効果) 以上に説明したように本発明は、複数の画面制御プログ
ラムを持つプログラムの生成及び更新処理において、編
集ファイルを設けることによって、以下のような効果が
ある。
(Effects of the Invention) As described above, the present invention provides the following effects by providing an edit file in the generation and update processing of a program having a plurality of screen control programs.

(1)入力ファイルと出力ファイルとを同一にすること
ができるので、ファイルの混乱を防止することができる
(1) Since the input file and output file can be the same, file confusion can be prevented.

(2)同一プログラム内の他の画面制御プログラムが任
意に参照可能となる。
(2) Other screen control programs within the same program can be referenced arbitrarily.

(3)プログラム内の特定な画面制御プログラムを直接
指定して更新することが可能となる。
(3) It becomes possible to directly designate and update a specific screen control program within a program.

(4)fl!Iのプログラムの特定な画面制御プログラ
ムの参照が可能となる。
(4) fl! It becomes possible to refer to a specific screen control program of the I program.

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

第1図は本発明の一実施例のプログラムの更新方式の構
成を示すブロック図、第2図は編集ファイルの構造を示
す図である。 1・・・入力ファイル、2・・・出力ファイル、3・・
・編集ファイル、4・・・画面、5・・・キーボード、
6・・・プログラムジェネレータ、7・・・プログラム
バッファ。
FIG. 1 is a block diagram showing the configuration of a program update method according to an embodiment of the present invention, and FIG. 2 is a diagram showing the structure of an editing file. 1...Input file, 2...Output file, 3...
・Edit file, 4...screen, 5...keyboard,
6...Program generator, 7...Program buffer.

Claims (1)

【特許請求の範囲】 直接ロードモジュールを扱うジェネレータにおけるプロ
グラム更新方式において、 更新したプログラムを格納する出力ファイルと、更新す
るプログラムを格納する入力ファイルと、この入力ファ
イルに格納されている前記更新するプログラムを画面表
示単位である画面制御プログラムの順列に編集して格納
する編集ファイルと、更新対象となる前記画面制御プロ
グラムを保持するプログラムバッファと、 このプログラムバッファに保持されている前記画面制御
プログラムを表示する画面と、 この画面に表示されている画面制御プログラムを更新す
る内容を入力し、更新後の前記画面制御プログラムを前
記プログラムバッファから前記出力ファイルへ出力する
指示を行うキーボードとを有することを特徴とするプロ
グラムの更新方式。
[Claims] In a program update method in a generator that handles direct load modules, an output file that stores an updated program, an input file that stores a program to be updated, and the program to be updated that is stored in this input file. an edit file that edits and stores the screen control program in the permutation of the screen display unit, a program buffer that holds the screen control program to be updated, and displays the screen control program held in this program buffer. and a keyboard for inputting contents to update the screen control program displayed on this screen and for instructing to output the updated screen control program from the program buffer to the output file. Update method for the program.
JP14553588A 1988-06-13 1988-06-13 System for updating program Pending JPH01312627A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14553588A JPH01312627A (en) 1988-06-13 1988-06-13 System for updating program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14553588A JPH01312627A (en) 1988-06-13 1988-06-13 System for updating program

Publications (1)

Publication Number Publication Date
JPH01312627A true JPH01312627A (en) 1989-12-18

Family

ID=15387447

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14553588A Pending JPH01312627A (en) 1988-06-13 1988-06-13 System for updating program

Country Status (1)

Country Link
JP (1) JPH01312627A (en)

Similar Documents

Publication Publication Date Title
JPH04342025A (en) Text managing and restoring system
JPH01312627A (en) System for updating program
JPH025102A (en) Input system for pc rudder graphic
JPH02236722A (en) System for controlling common use of input/output picture format
JPH06309158A (en) State transition specification generator
JPS62135958A (en) Simulation system
JPS6316366A (en) Character edition processing system
JPH0358148A (en) File collective editing output method
JPH0325632A (en) Error message display device
JPH0628286A (en) Method and device for controlling communication
JPH0594295A (en) Editing device for plural sub files
JPH02165263A (en) Tab control processing system
JPH08123675A (en) Method and device for data input
JPH03116223A (en) Screen control system for input of variable length data
JPH05334325A (en) Document preparing system of data processor
JPS63197229A (en) Automatic generation system for module structure
JPH0488433A (en) System identification compilation system from decentralized text editor
JPH04314135A (en) Error message displaying system
JPS6320559A (en) Document processor
JPH0465757A (en) File editing system for multiscreen editor
JPH04160535A (en) Control information generating system
JPH02165329A (en) Method for forming system
JPH07175940A (en) Correction data processor
JPH0635643A (en) Screen output method for data
JPS62231381A (en) Document preparing device with frame control function