JP2571572B2 - Program nest identification display method - Google Patents

Program nest identification display method

Info

Publication number
JP2571572B2
JP2571572B2 JP62078207A JP7820787A JP2571572B2 JP 2571572 B2 JP2571572 B2 JP 2571572B2 JP 62078207 A JP62078207 A JP 62078207A JP 7820787 A JP7820787 A JP 7820787A JP 2571572 B2 JP2571572 B2 JP 2571572B2
Authority
JP
Japan
Prior art keywords
nest
source program
input
program
display
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 - Fee Related
Application number
JP62078207A
Other languages
Japanese (ja)
Other versions
JPS63245521A (en
Inventor
雄一 森本
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.)
Hitachi Software Engineering Co Ltd
Original Assignee
Hitachi Software Engineering Co Ltd
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 Hitachi Software Engineering Co Ltd filed Critical Hitachi Software Engineering Co Ltd
Priority to JP62078207A priority Critical patent/JP2571572B2/en
Publication of JPS63245521A publication Critical patent/JPS63245521A/en
Application granted granted Critical
Publication of JP2571572B2 publication Critical patent/JP2571572B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、原始プログラムを表示する方法に係り、特
に原始プログラムの機能階層(ネスト)を操作者が把握
するのに好適なプログラムネスト識別表示方法に関す
る。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of displaying a source program, and in particular, a program nest identification display suitable for an operator to grasp the function hierarchy (nest) of the source program. About the method.

〔従来の技術〕[Conventional technology]

端末や自立型電子計算機を用いたプログラム入力編集
機構では、一般に原始プログラムの入力状態を画面によ
り確認する方式がとられる。この場合、ネスト構造で原
始プログラムを記入するPL/Iなどの高級言語では、従
来、原始プログラムの機能階層(ネスト)を分り易くす
るために、機能毎に一行中に書きはじめる位置をずらし
て(字ずらし)入力し表示している。
In a program input editing mechanism using a terminal or a self-contained computer, a method is generally employed in which the input state of a source program is confirmed on a screen. In this case, in a high-level language such as PL / I that writes a source program in a nested structure, conventionally, in order to make it easier to understand the function hierarchy (nest) of the source program, the position where writing is started in one line is shifted for each function ( Character shift) is input and displayed.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

上記従来技術は画面上に同時に表示可能な原始プログ
ラムの行数が有限である点について配慮がされておら
ず、画面上の表示行数よりはるかに多い行数を有する原
始プログラムのネスト状態を操作者に平易に把握させる
ことが困難で、入力時ネストを間違い易い問題があっ
た。
The above prior art does not take into account the fact that the number of lines of the source program that can be displayed simultaneously on the screen is finite, and manipulates the nesting state of the source program having a number of lines far greater than the number of lines displayed on the screen. There is a problem that it is difficult for a user to easily grasp the nest, and the nest at the time of input is easily mistaken.

本発明の目的は、上記ネスト構造の原始プログラムの
入力時におけるネストの処理状態を明確にし、誤入力を
防止するとともに、入力時の誤まりを操作者に容易に指
摘し、原始プログラムの修正をうながすことができるプ
ログラムネスト識別表示方法を提供することにある。
An object of the present invention is to clarify the processing state of the nest at the time of inputting the source program having the nest structure, prevent erroneous input, easily point out an error at the time of input to an operator, and correct the source program. An object of the present invention is to provide a method for identifying and displaying a program nest that can prompt.

〔問題点を解決するための手段〕[Means for solving the problem]

本発明は、表示画面をプログラム表示部とネスト情報
表示部とに分け、入力される原始プログラムのプログラ
ム表示部への表示と同期をとって、該原始プログラムの
ネストの処理状態を該ネストの階層番号を付加してネス
ト情報表示部に表示するようにしたことである。
The present invention divides the display screen into a program display section and a nest information display section, and synchronizes the display of the input source program on the program display section with the nest processing state of the source program. That is, a number is added and displayed on the nest information display section.

〔作 用〕(Operation)

プログラム表示部には従来のように原始プログラム情
報を表示する。原始プログラム入力途中でネストが変更
になった場合、そのネスト状態(ネストの処理状態)を
ネスト階層番号とともにをネスト情報表示部に表示す
る。これにより、操作者はネスト情報を参照して原始プ
ログラムを入力できるので、入力誤まりを防止できる。
The program display unit displays the source program information as in the related art. If the nest is changed during the input of the source program, the nest state (nest processing state) is displayed together with the nest hierarchy number on the nest information display section. This allows the operator to input the source program with reference to the nest information, thereby preventing input errors.

なお、カラー表示画面を使用する場合は、ネストによ
り原始プログラムの表示色を変え、原始プログラム入力
途中でネストが変更になった場合、原始プログラムの表
示色を変化させると同時にネスト情報表示部のネスト状
態の表示色も変化させるようにしてもよい。これによれ
ば、ネスト情報表示部の状態以外に原始プログラム自身
の色が変化するので、操作者は原始プログラム入力時、
同様に入力誤まりを防止できる。
When the color display screen is used, the display color of the source program is changed by nesting. If the nest is changed during the input of the source program, the display color of the source program is changed and the nesting of the nest information display section is performed at the same time. The display color of the state may also be changed. According to this, since the color of the source program itself changes in addition to the state of the nest information display unit, the operator can
Similarly, input errors can be prevented.

〔実施例〕〔Example〕

以下、本発明の一実施例について図面により説明す
る。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例のブロック図であり、原始
プログラムを入力する入力装置1、入力された原始プロ
グラムを編集処理する中央処理装置2及び原始プログラ
ムを表示する表示装置3よりなる。こゝで、表示装置3
の表示画面上には原始プログラム表示部の他にネスト情
報表示部を設定する。
FIG. 1 is a block diagram of one embodiment of the present invention, which comprises an input device 1 for inputting a source program, a central processing unit 2 for editing the input source program, and a display device 3 for displaying the source program. Here, the display device 3
On the display screen, a nest information display section is set in addition to the source program display section.

第2図は中央処理装置2の処理フローを示したもので
ある。入力装置1より原始プログラムが入力され(ステ
ップ11)、入力が終りでなければ(ステップ12)、ネス
トの状態を判定する(ステップ13,14)。そして、例え
ば、あるネストが開始すると、とりあえず「未入力」を
表示する(ステップ17)。また、ネストが完結した状態
であれば、「入力済」を表示する(ステップ15)。これ
以外はネスト「入力中」を表示する(ステップ16)。こ
のようなネストの状態表示は、表示装置3の表示画面の
原始プログラムの表示部とは別の部分のネスト情報表示
部に、ネストの階層番号を付加して表示する一方、入力
された原始プログラムは表示画面の原始プログラム表示
部を表示する(ステップ18)。
FIG. 2 shows a processing flow of the central processing unit 2. If a source program is input from the input device 1 (step 11) and the input is not completed (step 12), the state of the nest is determined (steps 13 and 14). Then, for example, when a certain nest starts, "not input" is displayed for the time being (step 17). If the nest is completed, "input completed" is displayed (step 15). Otherwise, the nest "input" is displayed (step 16). Such a nest state display is performed by adding a nest hierarchy number to a nest information display section of a portion different from the display section of the source program on the display screen of the display device 3 while displaying the input source program. Displays the source program display section of the display screen (step 18).

第3図に表示画面の具体例を示す。21は入力する原始
プログラムのネスト状態を示している。22は表示装置3
の表示画面で、その一部にネスト情報表示部23を設け
る。原始プログラム21を先頭から順にネスト処理1,2,3,
4,3の如く機能階層毎に一行中で書きはじめる位置をず
らして入力した場合、表示画面22上にも同様に位置をず
らして該原始プログラムを表示する。これと同期をとっ
てネスト情報表示部23に、逐次ネスト状態を表示する。
本例では現在ネスト3入力を実行中であり、ネスト4は
入力済であり、ネスト1,2は未入力(すなわち、ネスト
は始まったが未だ完結していない)であることを示して
いる。
FIG. 3 shows a specific example of the display screen. Numeral 21 indicates the nesting state of the input source program. 22 is the display device 3
And a nest information display unit 23 is provided in a part of the display screen. Nest processing 1,2,3,
In the case where the position at which writing is started in one line is shifted and input for each functional layer as in 4 and 3, the source program is similarly shifted on the display screen 22 and displayed. Synchronously with this, the nesting state is sequentially displayed on the nesting information display section 23.
In this example, nest 3 input is currently being executed, nest 4 has been input, and nests 1 and 2 have not been input (that is, the nest has started but has not yet been completed).

第4図は表示画面の別の具体例で、色情報によりネス
ト状態を表示する画面例である。原始プログラムを先頭
から順に入力した場合、表示画面22上に原始プログラム
を表示するが、この場合、ネストの状態に対応して表示
文字の色を変化させる。本例では、ネスト1入力原始プ
ログラムの色は青、ネスト2の色は緑、以下ネスト3
黄、ネスト4白となっている。また、これと同期をとっ
て、ネスト情報表示部23に逐次ネスト状態を色で表示す
る。現在ネスト3入力中であり、ネスト4は入力済、ネ
スト1,2は未入力であることを示している。このネスト
情報表示部23のネスト状態表示の色も、原始プログラム
の色と同期をとって変化させる。
FIG. 4 shows another specific example of the display screen, which is an example of a screen displaying a nesting state based on color information. When the source programs are input in order from the beginning, the source programs are displayed on the display screen 22. In this case, the color of the display characters is changed according to the nesting state. In this example, the color of the nest 1 input source program is blue, the color of the nest 2 is green, and hereafter the nest 3
Yellow, nest 4 white. In synchronization with this, the nest information display unit 23 sequentially displays the nest status in color. Nest 3 is currently being input, nest 4 has been input, and nests 1 and 2 have not been input. The color of the nest status display of the nest information display section 23 is also changed in synchronization with the color of the source program.

〔発明の効果〕〔The invention's effect〕

本発明によれば、原始プログラムのネストの処理状態
がネスト階層番号とともにがネスト情報表示部により一
覧できるので、原始プログラム入力時にネストを誤まっ
て入力することが防止できる。また、色情報によりネス
トの状態を表示する場合は、原始プログラム表示部の原
始プログラム自身も色分けするので、プログラム修正時
に誤まりが防止できる。
According to the present invention, the processing state of the nest of the source program can be listed together with the nest hierarchy number on the nest information display unit, so that the nest can be prevented from being erroneously input when the source program is input. Further, when the nest state is displayed by the color information, the source program itself in the source program display section is also color-coded, so that mistakes can be prevented when the program is corrected.

特に、処理が長い原始プログラムや、ネスト構造が複
雑な原始プログラムでは、一時点で画面に表示可能な原
始プログラムの範囲が限定されているため、ネスト情報
表示部のネスト情報は非常に有効となる。
In particular, in a source program having a long processing or a source program having a complicated nest structure, the range of the source program that can be displayed on the screen at a single point in time is limited, so that the nest information in the nest information display section is very effective. .

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

第1図は本発明の一実施例のブロック図、第2図は第1
図の中央処理装置の処理フローチャート、第3図及び第
4図は表示装置の具体例を示す図である。 1……入力装置、2……中央処理装置、 3……表示装置、21……原始プログラム、 22……表示画面、23……ネスト情報表示部。
FIG. 1 is a block diagram of one embodiment of the present invention, and FIG.
The processing flowchart of the central processing unit in the figure, and FIGS. 3 and 4 are diagrams showing specific examples of the display device. 1 ... input device, 2 ... central processing unit, 3 ... display device, 21 ... source program, 22 ... display screen, 23 ... nest information display section.

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】原始プログラムを入力する手段と、入力し
た原始プログラムを編集する手段と、原始プログラムを
表示する手段とを有する計算機システムにおけるプログ
ラムネスト識別表示方法であって、 前記原始プログラムを表示する手段の表示画面内に、原
始プログラム表示部とは別にネスト情報表示部を設け、 前記ネスト情報表示部に、入力される原始プログラムと
同期をとって、当該原始プログラムのネストの処理状態
を示す未入力、入力中あるいは入力済をネスト階層番号
を付加して表示することを特徴とするプログラムネスト
識別表示方法。
1. A program nest identification display method in a computer system, comprising: means for inputting a source program; means for editing the input source program; and means for displaying the source program, wherein the source program is displayed. A nest information display section is provided in the display screen of the means separately from the source program display section, and the nest information display section indicates the nest processing state of the source program in synchronization with the input source program. A program nest identification display method characterized by displaying input, input, or already input with a nest hierarchy number added.
【請求項2】特許請求の範囲第1項記載のプログラムネ
スト識別表示方法において、原始プログラムを表示する
手段の表示画面をカラー表示画面とし、原始プログラム
のネストとネスト処理状態とを、対応するネスト階層ご
とに色分けして表示することを特徴とするプログラムネ
スト表示方法。
2. The program nest identification display method according to claim 1, wherein the display screen of the means for displaying the source program is a color display screen, and the nest of the source program and the nest processing state are corresponded to each other. A program nest display method characterized in that the display is color-coded for each hierarchy.
JP62078207A 1987-03-31 1987-03-31 Program nest identification display method Expired - Fee Related JP2571572B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62078207A JP2571572B2 (en) 1987-03-31 1987-03-31 Program nest identification display method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62078207A JP2571572B2 (en) 1987-03-31 1987-03-31 Program nest identification display method

Publications (2)

Publication Number Publication Date
JPS63245521A JPS63245521A (en) 1988-10-12
JP2571572B2 true JP2571572B2 (en) 1997-01-16

Family

ID=13655587

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62078207A Expired - Fee Related JP2571572B2 (en) 1987-03-31 1987-03-31 Program nest identification display method

Country Status (1)

Country Link
JP (1) JP2571572B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5945549A (en) * 1982-09-07 1984-03-14 Toshiba Corp Device for displaying program
JPS59180738A (en) * 1983-03-31 1984-10-13 Fuji Electric Co Ltd Character display device
JPS6254337A (en) * 1985-09-02 1987-03-10 Nec Corp Specification displaying system for program hierarchy
JPS6258335A (en) * 1985-09-09 1987-03-14 Casio Comput Co Ltd Issuing device for list of program

Also Published As

Publication number Publication date
JPS63245521A (en) 1988-10-12

Similar Documents

Publication Publication Date Title
CA2024635C (en) Method and system for generation of manufacturing process plans
US5615308A (en) Rule-based production system adapted for complex procedures flow
JP2571572B2 (en) Program nest identification display method
JP2002351861A (en) Automatic typesetting system
JPH10240793A (en) System for preparing drawing
EP0268293A3 (en) Display method in software development support system
JPS6227867A (en) Picture data correcting system
JP2641249B2 (en) Symbol figure arrangement method
JPS63296131A (en) Method and device for controlling multiplex display region
JPS62278672A (en) Method for deciding disposition of parts on printed board
JPH05303616A (en) Method for selecting correction object for correcting graphic database
JPH05189508A (en) Circuit diagram input device
JPH1196209A (en) Method for editing shared data base
JPH0667827A (en) Data display control device
JPH0528209A (en) Circuit diagram generation device
JPH08212374A (en) Device and method for editing animation schedule
JPH05216571A (en) Error positioning system for input sheet
JPH08137935A (en) Method for setting up character display condition
JPH1021228A (en) Document editing device
JPS6316366A (en) Character edition processing system
JPH02224950A (en) Display method for work shape
JPS63151999A (en) Document generator
JPH0789317B2 (en) Program correction point display device
JPH05151283A (en) Drawing table selecting system in cad
JPH05314273A (en) Method and device for processing image data

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees