JPH01155436A - Structured program preparing device - Google Patents

Structured program preparing device

Info

Publication number
JPH01155436A
JPH01155436A JP62315003A JP31500387A JPH01155436A JP H01155436 A JPH01155436 A JP H01155436A JP 62315003 A JP62315003 A JP 62315003A JP 31500387 A JP31500387 A JP 31500387A JP H01155436 A JPH01155436 A JP H01155436A
Authority
JP
Japan
Prior art keywords
chart
structured program
box
pad
contents
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
JP62315003A
Other languages
Japanese (ja)
Inventor
Masakazu Matsukura
松倉 正和
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.)
Kobe Steel Ltd
Original Assignee
Kobe Steel 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 Kobe Steel Ltd filed Critical Kobe Steel Ltd
Priority to JP62315003A priority Critical patent/JPH01155436A/en
Publication of JPH01155436A publication Critical patent/JPH01155436A/en
Pending legal-status Critical Current

Links

Landscapes

  • Devices For Executing Special Programs (AREA)
  • Stored Programmes (AREA)

Abstract

PURPOSE:To facilitate the change of a structured program by changing the content of the structured program in a storage means directly by a storage updating means not by performing the change of the structured program generated already by changing a chart on a picture. CONSTITUTION:The storage means 5 stores the kind, the content and the connection of elements of the structured program. A picture plane constitution means 6 constitutes the picture of the chart of the structured program based on the stored content of the storage means 5, and displays it on a picture display means 7. Simultaneously, an instruction area is generated in the chart of the structured program or outside the chart, and an input interpretation means 3 extracts the change instruction of the structured program inputted to the instruction area by using an input operating means 2. The storage updating means 4 updates the stored content of the storage means 5 not changing the chart on the picture based on an extracted change instruction. In such a way, it is possible to perform the generation and the change of the structured program easily, and to shorten a required time.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、構造化プログラム作成装置に関し、更に詳し
くは、容易に対話形式で構造化プログラムを作成するこ
とができる装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a structured program creation device, and more particularly to a device that can easily create a structured program in an interactive manner.

〔従来の技術〕[Conventional technology]

プログラムの開発・保守等を容易にするために、プログ
ラムの処理手順をPAD、SPD、IIcP、YACな
どの構造化プログラムの記法を用いて設計し、これを元
にC0BOL、C,FORTRAN等の言語のプログラ
ムを生成させる技術が知られており、例えば「日経コン
ピュータ 1984.1.9」や、「日経コンピュータ
 1987.8.174に記載されている。
In order to facilitate program development and maintenance, program processing procedures are designed using structured program notations such as PAD, SPD, IIcP, and YAC, and based on this, languages such as C0BOL, C, FORTRAN, etc. A technique for generating a program is known, and is described, for example, in "Nikkei Computer, 1984.1.9" and "Nikkei Computer, 1987.8.174."

PAD、SPD、1(CP、Y、ACなどの記法を用い
て構造化プログラムを作成するのは、各々のエディター
を用いて対話形式で行うことが出来る。
Creating a structured program using notations such as PAD, SPD, 1 (CP, Y, AC, etc.) can be done interactively using each editor.

例えばPADを用いる場合についてはrPADET/F
ORTRANマニュアル 音波書店発行」に記載されて
いる。
For example, when using PAD, rPADET/F
ORTRAN Manual published by Sonic Shoten.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来のエディターを用いての構造化プログラムの作成は
、必ずしも操作が容易といえない場合があった。
Creating structured programs using conventional editors has not always been easy to operate.

例えば上記rPADET/FORTRANマニュアル 
音波書店発行」に記載されているPADエディターでは
、−度作成したPADを変更しようとする時、操作が煩
雑となる問題点がある。具体的には例えば、VDTの画
面に表示されたPADチャートの一つのPAD要素を削
除すると、削除したPAD要素のあった部分が空白とな
り、不自然に見えるPADチャートとなるため、その部
分より下のPAD要素を上へ繰り上げる操作をオペレー
タがわざわざ行う必要がある。また、既に作成されて画
面に表示されているPADチャートのPAD要素とPA
D要素の間に新たにPAD要素を挿入しようとした時に
は、その部分より下のPAD要素を繰り下げてスペース
を開ける操作を事前に行う必要がある。
For example, the above rPADET/FORTRAN manual
The PAD editor described in "Published by Sonic Shoten" has the problem that operations are complicated when trying to change a PAD that has been created. Specifically, for example, if you delete one PAD element of a PAD chart displayed on the VDT screen, the part where the deleted PAD element was will become blank, resulting in an unnatural-looking PAD chart, so if you delete one PAD element below that part, The operator must take the trouble to move the PAD element upward. Also, the PAD elements and PA of the PAD chart that has already been created and displayed on the screen.
When attempting to insert a new PAD element between D elements, it is necessary to perform an operation in advance to move down the PAD elements below that part to open up a space.

従って、本発明の目的とするところは、構造化プログラ
ムの変更等の操作を容易に行えるようにした構造化プロ
グラム作成装置を提供することにある。
Therefore, an object of the present invention is to provide a structured program creation device that allows operations such as changing a structured program to be easily performed.

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

本発明の構造化プログラム作成装置は、入力操作手段、
入力解釈手段、記憶更新手段、記憶手段、画面構成手段
および画像表示手段を具備し、対話式に構造化プログラ
ムを作成する装置において、記憶手段は構造化プログラ
ムの要素の種類と内容と接続とを記憶し、画面構成手段
は前記記憶手段の記憶内容に基づいて構造化プログラム
のチャートの画面を構成して画像表示手段に表示すると
共にその構造化プログラムのチャート中に若しくは構造
化プログラムのチャート外に命令域を作成し、入力解釈
手段は前記命令域に入力操作手段を用いて入力された構
造化プログラムの変更命令を抽出し、記憶更新手段は前
記抽出した変更命令に基づいて前記記憶手段の記憶内容
を更新することを構成上の特徴とするものである。
The structured program creation device of the present invention includes an input operation means;
In an apparatus for creating a structured program interactively, the device includes an input interpretation means, a memory updating means, a storage means, a screen composition means, and an image display means, and the storage means stores the types, contents, and connections of the elements of the structured program. The screen configuring means configures the screen of the chart of the structured program based on the stored contents of the storage means and displays it on the image display means, and also displays the screen within the chart of the structured program or outside the chart of the structured program. An instruction area is created, the input interpretation means extracts a structured program change instruction inputted into the instruction area using the input operation means, and the memory updating means updates the memory of the storage means based on the extracted change instruction. Its structural feature is that the content is updated.

上記構成において、構造化プログラムとは、連続、選択
、反復の3種類の制御構造を基本とする要素を組み合わ
せて形成されるプログラムを意味する。
In the above configuration, the structured program refers to a program formed by combining elements based on three types of control structures: continuous, selective, and repetitive.

〔作用〕[Effect]

従来装置では、記憶手段における構造化プログラムの内
容と、画像表示手段に表示された構造化プログラムのチ
ャートの内容とが別個であり、既に作成された構造化プ
ログラムの変更に際しては、画面に表示された構造化プ
ログラムのチャートを先に変更し、その構造化プログラ
ムのチャートの変更内容に基づいて記憶手段の構造化プ
ログラムの内容が変更されるようになっていたため、上
述の如き操作の煩雑さを生じていた。
In conventional devices, the contents of the structured program in the storage means and the contents of the structured program chart displayed on the image display means are separate, and when changing a structured program that has already been created, the contents of the structured program chart displayed on the screen are different. The chart of the structured program that has been created is changed first, and the contents of the structured program in the storage means are changed based on the changed contents of the chart of the structured program. was occurring.

ところが、本発明の構造化プログラム作成装置では、記
憶手段に記憶した構造化プログラムの内容をそのまま画
面構成手段でチャート化し、画像表示手段で表示してお
り、記憶手段の構造化プログラムの内容と画面のチャー
トの内容とが常に一致している。そして、既に作成され
た構造化プログラムの変更は、画面上のチャートの変更
ではなく、記憶手段の構造化プログラムの内容を記憶更
新手段が直接変更するようにしている。
However, in the structured program creation device of the present invention, the contents of the structured program stored in the storage means are directly converted into a chart by the screen composition means and displayed by the image display means, and the contents of the structured program stored in the storage means and the screen are The contents of the chart always match. When changing the structured program that has already been created, the storage updating means directly changes the contents of the structured program in the storage means, rather than changing the chart on the screen.

この結果、変更操作は直接的となり、簡便になる。また
、不自然に見えるチャートの発生が防止される。
As a result, modification operations are straightforward and convenient. Furthermore, the occurrence of charts that look unnatural can be prevented.

また、記憶手段の構造化プログラムの内容と画面のチャ
ートの内容の相互変換が不必要となり(前者から後者へ
の変換だけでよくなるため)、構成が簡単になる。
Further, mutual conversion between the content of the structured program in the storage means and the content of the chart on the screen is unnecessary (because only the conversion from the former to the latter is required), and the configuration is simplified.

〔実施例〕〔Example〕

以下、図に示す実施例に基づいて本発明を更に詳しく説
明する。構造化プログラムの記法としてはPADを用い
て説明するが、他の記法でも同様である。ここに第1図
は本発明の一実施例のPAD作成装置のブロック図、第
2図は記憶手段の記憶内容を示す図表、第3図はPAD
!II素に書き込まれる文字の記憶形式を示す図表、第
4図及び第5rf!Jは接続関係を説明するためのPA
Dチャート図、第6図はPAD作成の最初の画面の例示
図、第7図はPAD要素選択画面の例示図、第8図は処
理ボックスを選択したときのPADの記憶内容を示す図
表、第9図は第8図の記憶内容から構成されたPADチ
ャートの例示図、第10図は処理ボックスに書き込まれ
た文字の記憶内容を示す図表、第11図は記憶されたP
ADの一例の図表、第12図は第11図に示す記憶内容
から構成されたPADチャートの例示図、第13図は削
除命令を記入したPADチャートの例示図、第14図及
び第15図は削除命令により記憶内容を変更する状態の
図表、第16図は変更後の記憶内容の図表、第17図は
第16図に示す記憶内容から構成されたPADチャート
の例示図、第18図は挿入命令を記入したPADチャー
トの例示図、第19図及び第20図は挿入命令により記
憶内容を変更する状態の図表、第21図は第20図に示
す記憶内容から構成されたPADチャートの例示図、第
22図は複写命令を記入したPADチャートの例示図、
第23図は複写命令により内容を変更する状態の図表で
ある。なお、以下の実施例により本発明が附定されるも
のではない。
Hereinafter, the present invention will be explained in more detail based on embodiments shown in the drawings. The description will be made using PAD as the notation for structured programs, but the same applies to other notations. Here, FIG. 1 is a block diagram of a PAD creation device according to an embodiment of the present invention, FIG. 2 is a diagram showing the storage contents of the storage means, and FIG.
! Diagrams showing the storage format of characters written in the II element, Figures 4 and 5rf! J is PA for explaining the connection relationship
D chart diagram, Figure 6 is an example diagram of the first screen for PAD creation, Figure 7 is an example diagram of the PAD element selection screen, Figure 8 is a diagram showing the memory contents of PAD when a processing box is selected, Figure 9 is an example of a PAD chart constructed from the memory contents in Figure 8, Figure 10 is a diagram showing the memory contents of characters written in the processing box, and Figure 11 is a diagram showing the stored PAD chart.
FIG. 12 is an example of a PAD chart composed of the memory contents shown in FIG. 11, FIG. 13 is an example of a PAD chart with a deletion command written in it, and FIGS. 14 and 15 are diagrams of an example of AD. A diagram of the state in which the stored contents are changed by a deletion command, FIG. 16 is a diagram of the stored contents after the change, FIG. 17 is an example of a PAD chart composed of the stored contents shown in FIG. 16, and FIG. 18 is an insert. An example diagram of a PAD chart with instructions written in it, Figures 19 and 20 are diagrams showing a state in which storage contents are changed by an insert command, and Figure 21 is an example diagram of a PAD chart configured from the storage contents shown in Figure 20. , FIG. 22 is an illustrative diagram of a PAD chart in which copying instructions are written,
FIG. 23 is a diagram showing the state in which contents are changed by a copy command. It should be noted that the present invention is not defined by the following examples.

第1図に示すように、PAD作成装置1は、入力操作手
段2と、入力解釈手段3と、記憶更新手段4と、記憶手
段5と、画面構成手段6と、画像表示手段7とを具備し
て構成され、記憶手段5は更に出力機器8に接続されて
いる。
As shown in FIG. 1, the PAD creation device 1 includes an input operation means 2, an input interpretation means 3, a memory updating means 4, a storage means 5, a screen composition means 6, and an image display means 7. The storage means 5 is further connected to an output device 8.

入力操作手段2としては、キーボード、マウス、ディジ
タイザ、グラフインクタブレット等を用いることができ
る。
As the input operation means 2, a keyboard, a mouse, a digitizer, a graph ink tablet, etc. can be used.

入力解釈手段3は、入力操作手段から入力されるコード
あるいは信号と3表示画面の状態とに基づいて入力の意
味を解釈し、記憶更新手段4.記憶手段51画面構成手
段6にそれぞれ指示出力を送出している。
The input interpretation means 3 interprets the meaning of the input based on the code or signal input from the input operation means and the state of the 3 display screens, and the memory updating means 4. Instruction outputs are sent to the storage means 51 and the screen composition means 6, respectively.

記憶更新手段4は、入力解釈手段3がらの指示に基づき
、記憶手段5の記憶内容を更新する。
The memory updating means 4 updates the memory contents of the memory means 5 based on instructions from the input interpreting means 3.

記憶手段5は、PAD要楽の種類、内容、接続等を記憶
するもので、具体的には第2図及び第3図に示す項目を
記憶している。即ち、第2図に示すように、各PAD要
素(以下、ボックスと呼ぶ)の番号即ちボックスナンバ
ーと、そのボックスの名称即ちボックスラベルと、その
ボックスの種類と、そのボックスが接続する他のボック
スのボックスナンバーと、そのボックスに記入される文
字を記憶している先頭番地と末尾番地とを記憶している
。また、第3図に示すように、各ボックスに記入される
文字コードを所定の番地に記憶している。なお、接続の
上、下、右上、右下、左は、第4図及び第5図に示す(
中心)から見たとき、両図に記入の各位置のボックスを
言う。
The storage means 5 stores the types, contents, connections, etc. of PAD music, and specifically stores the items shown in FIGS. 2 and 3. That is, as shown in Fig. 2, the number of each PAD element (hereinafter referred to as a box), that is, the box number, the name of that box, that is, the box label, the type of that box, and the other boxes that the box connects to. The box number and the start and end addresses of the characters to be written in the box are stored. Further, as shown in FIG. 3, the character code written in each box is stored at a predetermined address. The upper, lower, upper right, lower right, and left connections are shown in Figures 4 and 5 (
When viewed from the center), say the box for each position filled in both figures.

更に、記憶手段5は、入力解釈手段3がらの指示に基づ
き、画面構成手段6あるいは出力機器8に記憶内容を出
力する。
Further, the storage means 5 outputs the stored contents to the screen composition means 6 or the output device 8 based on instructions from the input interpretation means 3.

画面構成手段6は、記憶手段5の記憶内容に基づいてP
AI)チャートの画面を構成し、それを画像表示手段7
に出力する。記憶内容がない場合は、初期画面(第6図
参照)を構成し、それを出力する。また、入力解釈手段
3からの指示により、ボックス選択両面(第7図参照)
を構成し、それを出力する。カーソルや命令域等は、前
記画面構成の中に含まれている。
The screen configuration means 6 selects P based on the contents stored in the storage means 5.
AI) Configure a chart screen and display it as image display means 7
Output to. If there is no stored content, an initial screen (see FIG. 6) is constructed and output. Also, according to instructions from the input interpretation means 3, the box can be selected on both sides (see Figure 7).
and output it. The cursor, command area, etc. are included in the screen configuration.

更に、画面構成手段6は、出力している画面の状態を入
力解釈手段3に出力する。これは入力操作手段2からの
入力の意味を解釈するために必要だからである。
Further, the screen configuration means 6 outputs the state of the screen being outputted to the input interpretation means 3. This is because it is necessary to interpret the meaning of the input from the input operation means 2.

画像表示手段は、CRTやLCDを用いたVDTを用い
ることができる。
As the image display means, a VDT using a CRT or an LCD can be used.

出力機器8は、例えば印刷装置であり、記憶手段5に記
憶されたPA[)に基づいてPADチャートを印刷する
。あるいはプログラム生成装置であり、記憶手段5に記
憶されたPADからC0BOLやCやFORTRAN言
語のプログラムを生成する。あるいはオブジェクトプロ
グラム生成装置であり、記憶手段5に記憶されたPAD
から直接的にオブジェクトプログラムを生成する。ある
いは磁気ディスク装置や磁気テープ装置等であり、記憶
装置5に記憶されたPADを可搬媒体に記録する。ある
いはデータ伝送装置であり、記憶手段5に記憶されたP
ADを他のコンビエータシステムへ転送する。
The output device 8 is, for example, a printing device, and prints the PAD chart based on the PA[) stored in the storage means 5. Alternatively, it is a program generation device, and generates a program in C0BOL, C, or FORTRAN language from the PAD stored in the storage means 5. Alternatively, it is an object program generation device, and the PAD stored in the storage means 5
Generate an object program directly from Alternatively, it is a magnetic disk device, a magnetic tape device, etc., and records the PAD stored in the storage device 5 on a portable medium. Alternatively, it is a data transmission device, and the P stored in the storage means 5
Transfer AD to another Combiator system.

次に、作動を説明する。Next, the operation will be explained.

まず、PAD作成の最初は、画面構成手段6によって構
成された初期画面が画像表示手段7に表示される。第6
図はこの初期画面を表しており、一つの命令域11と、
その命令域11の内部にカーソル21が表示されている
First, at the beginning of PAD creation, an initial screen constructed by the screen construction means 6 is displayed on the image display means 7. 6th
The figure shows this initial screen, with one command area 11,
A cursor 21 is displayed inside the command area 11.

ここで、オペレータがrlJを記入すると、第7図に示
すようなボックス選択画面が表示され、3種類のボック
スが表示される。なお、説明の簡単のため3種類とした
が、例えば前条件反復や後条件反復ボックス、ボックス
内に記入し得る文字数の多少によってサイズの異なるボ
ックス等のバリニーシランを持たせて4種類以上として
も良い。
Here, when the operator enters rlJ, a box selection screen as shown in FIG. 7 is displayed, and three types of boxes are displayed. In order to simplify the explanation, we have chosen three types; however, there may be four or more types, such as pre-condition repetition boxes, post-condition repetition boxes, boxes of different sizes depending on the number of characters that can be filled in the box, etc. .

オペレータは、ボックス選択画面から所望の種類のボッ
クスを選び、その番号を入力する0例えば「1」を入力
すると処理ボックスを選択でき、「2」を入力すれば選
択ボックスを選ぶことができ、「3」を入力すると反復
ボックスを選ぶことができる。
The operator selects the desired type of box from the box selection screen and enters its number. For example, by entering "1", the operator can select the processing box; by entering "2", the operator can select the selection box; 3" to select the repeat box.

なお、処理ボックスには「B」、選択ボックスには「E
」、反復ボックスにはrRJがその種類を表す記号とし
て割り当てられている。そして、前記命令域11にrl
Jを入力する代わりにrBJ、rEJ、rRJを入力す
れば、ボックス選択画面を経ずに直接所望の[tI4の
ボックスを選択した効果が得られる。
In addition, "B" is written in the processing box and "E" is written in the selection box.
”, the repetition box is assigned rRJ as the symbol representing its type. Then, in the instruction area 11, rl
If you input rBJ, rEJ, and rRJ instead of inputting J, you can directly obtain the effect of selecting the desired [tI4 box] without going through the box selection screen.

入力解釈手段3は、入力された文字と画面上の位置とか
らボックス選択命令を抽出し、記憶更新手段4にそのボ
ックス選択命令を入力する。
The input interpretation means 3 extracts a box selection command from the input characters and the position on the screen, and inputs the box selection command to the memory updating means 4.

記憶更新手段4は、ボックス選択命令に基づいて、所定
の内容を記憶手段5に記憶させる。
The memory updating means 4 causes the storage means 5 to store predetermined contents based on the box selection command.

最初に例えば処理ボックスが選択された場合の記憶内容
は、第8図に例示するようになる。即ち、最初のボック
スなので、ボックスナンバーとして「1」が割り当てら
れ、ボックスaimはrBJであり、両者を組み合わせ
てボックスラベルは「BIJとする。また、他に接続す
るボックスがないので、接続は全て「0」とする、更に
、処理ボックス中には20文字まで記入できるので、文
字番地は011番左ら20番地まで確保される。
For example, when a processing box is first selected, the stored contents are as shown in FIG. 8. In other words, since it is the first box, "1" is assigned as the box number, the box aim is rBJ, and the box label is "BIJ" by combining the two. Also, since there is no other box to connect, all connections are Furthermore, since up to 20 characters can be entered in the processing box, character addresses up to 20 from the left of 011 are reserved.

第8図のように記憶内容が設定されると、画面構成手段
6はPADチャートを構成し、画像表示手段7に表示さ
せる。第9図はその表示されたPADチャートを示すも
のである。11,12.111は命令域である。121
はボックスラベルの表示域である。カーソル21は処理
ボックス中に表示され、文字の記入が回部なことを示し
ている。
When the stored contents are set as shown in FIG. 8, the screen composition means 6 composes a PAD chart and causes the image display means 7 to display it. FIG. 9 shows the displayed PAD chart. 11, 12.111 is an instruction area. 121
is the display area of the box label. A cursor 21 is displayed in the processing box, indicating that characters can be entered multiple times.

文字を記入すれば、例えば第1Ov!Jに示すように、
011番左ら順に記入された文字のコードが記憶される
If you enter the characters, for example, 1st Ov! As shown in J.
011 The codes of the characters written in order from the left are stored.

以上の操作を繰り返すことによって、例えば第11図に
示す如き記憶内容のPADを作成することができる。そ
して、第11図に示す記憶内容のPADによって画面構
成手段6が構成するPADチャートは第12図に示すよ
うになる。
By repeating the above operations, it is possible to create a PAD with stored contents as shown in FIG. 11, for example. The PAD chart constructed by the screen construction means 6 based on the PAD of the stored contents shown in FIG. 11 is as shown in FIG. 12.

次に、第13図に示すPADチャートにおけるボックス
ラベル「B2」のボックスを削除する処理について説明
する。
Next, the process of deleting the box with the box label "B2" in the PAD chart shown in FIG. 13 will be described.

この場合には、第13図に示すように、画面に表示され
たPADチャートの「B2」ボックスの命令域112に
、文字rDJを記入する。
In this case, as shown in FIG. 13, the characters rDJ are entered in the command area 112 of the "B2" box of the PAD chart displayed on the screen.

これにより入力解釈手段3は、「B2」ボックスの削除
命令を抽出し、これを記憶更新手段4に入力する。
As a result, the input interpreting means 3 extracts the deletion command of the "B2" box and inputs it to the memory updating means 4.

記憶更新手段4は、第14図に示すように、ボックスラ
ベル「B2」に対応するボックスナンバー「2」の記憶
内容を一1除する。そして、第15図に示すように、ボ
ックスナンバー「2」以降のボックスのナンバーを順次
繰り上げる。更に、第16図に示すように、ボックスラ
ベルを更新し、接続を更新し、文字番地を更新する。ま
た、文字番地の更新に従って文字記憶領域の記憶内容を
再配置する。
As shown in FIG. 14, the memory updating means 4 divides the memory contents of the box number "2" corresponding to the box label "B2" by 1. Then, as shown in FIG. 15, the numbers of the boxes after box number "2" are incremented one after another. Furthermore, as shown in FIG. 16, the box label, connection, and character address are updated. Furthermore, the contents of the character storage area are rearranged according to the update of the character address.

画面構成手段6は、更新された記憶内容に基づいてPA
Dチャートを作成し、画像表示装置7に表示する。第1
7図はそのPADチャートを示しており、先の「B2」
ボックスが削除されている。
The screen configuration means 6 configures the PA based on the updated memory contents.
A D chart is created and displayed on the image display device 7. 1st
Figure 7 shows the PAD chart, and the previous "B2"
Box has been removed.

次に「挿入」の場合は、第18図に示すように、挿入し
たい位置の命令域12に、rlJを記入する。これによ
り第7図に示す如きボックス選択画面になるので、所望
のボックスを選択する。あるいは、挿入したいボックス
の種類の記号「B」。
Next, in the case of "insertion", as shown in FIG. 18, rlJ is written in the command area 12 at the desired insertion position. This brings up a box selection screen as shown in FIG. 7, so select the desired box. Or the symbol "B" for the type of box you want to insert.

rEJあるいはrRJを命令域12に直接記入しても良
い。
rEJ or rRJ may be written directly into the instruction area 12.

これにより入力解釈手&3は挿入命令を抽出して記憶更
新手段4に入力する。
As a result, the input interpreter &3 extracts the insertion command and inputs it to the memory updating means 4.

入力更新手段4は、第19図に示すように、挿入位置よ
り下にあるボックスナンバーを1ずつ繰り下げて、挿入
位置のボックスナンバーの記憶領域を確保する。そして
、第20図に示すように、選択されたボックスの種類を
設定し、ボックスラベルを更新し、接続を更新し、文字
番地を更新する。
As shown in FIG. 19, the input updating means 4 decrements the box numbers below the insertion position one by one to secure a storage area for the box number at the insertion position. Then, as shown in FIG. 20, the type of the selected box is set, the box label is updated, the connection is updated, and the character address is updated.

文字番地の更新に基づいて、ボックスナンバー「3]以
後の文字のコードは再配置される。新たに挿入されたボ
ックスに記入する文字の領域は確保されるが、内容は空
白のままにされる。
Based on the update of the character address, the codes of the characters after box number "3" are rearranged.The area for characters to be written in the newly inserted box is reserved, but the contents are left blank. .

画像構成手¥&6は、記憶手段50更新された記憶内容
に基づいて、第21図に示す如きPADチャートを構成
し、画像表示手段7に表示する。カーソル21は、新た
に挿入されたボックスへの文字の記入が可能であること
を示している。
The image composition tool &6 composes a PAD chart as shown in FIG. 21 based on the updated storage contents of the storage means 50, and displays it on the image display means 7. The cursor 21 indicates that characters can be written in the newly inserted box.

次に「複写」を行う場合は、第22図に未すように、複
写を行いたい「B3」ボックスの命令域172にrCJ
を記入すると共に、複写したい位置の命令域12にrX
Jを記入する。
Next, when performing "copy", enter rCJ in the command area 172 of the "B3" box you wish to copy, as shown in Figure 22.
At the same time, write rX in the command area 12 of the position you want to copy.
Enter J.

これにより入力解釈手段3は複写命令を抽出し、記憶更
新手段4に入力する。
As a result, the input interpreting means 3 extracts the copy command and inputs it to the memory updating means 4.

記憶更新手段4は、複写先の位置より下のボックスのボ
ックスナンバーを順次繰り下げて記憶領域を確保する(
第19図と同じ)0次に、複写元のボックスの種類を複
写先のボックスナンバーの記憶領域に設定する。そして
、文字番地の更新を行う、第23図はこの状態を示して
いる。
The memory updating means 4 secures a storage area by sequentially lowering the box numbers of the boxes below the copy destination position (
(Same as FIG. 19) 0 Next, the type of copy source box is set in the storage area of the copy destination box number. Then, the character address is updated. FIG. 23 shows this state.

次に、更新した文字番地に応じて記憶していた文字コー
ドを再配置し、複写元のボックスの文字コードを複写先
のボックスの文字記憶領域に複写する0次に、ボックス
ラベルの更新と、接続の更新を行う、これにより得られ
る記憶手段5の記憶内容は、第11図に示すものと同じ
である。
Next, the stored character code is rearranged according to the updated character address, and the character code of the copy source box is copied to the character storage area of the copy destination box. Next, the box label is updated. The contents stored in the storage means 5 obtained by updating the connection are the same as those shown in FIG. 11.

従って、画像構成手段6によりて構成されるPADチャ
ートは、第12図に示すものと同じになる。
Therefore, the PAD chart constructed by the image construction means 6 is the same as that shown in FIG.

カーソル21は、複写により追加されたボックスの下の
命令域に位置する。
The cursor 21 is located in the instruction area below the box added by copying.

次に「移動」の場合は、第22図において、rCJを記
入する代わりにrMJを記入する操作を行う。
Next, in the case of "movement", in FIG. 22, an operation is performed to write rMJ instead of rCJ.

これにより入力解釈手段3は移動命令を抽出し、記憶更
新手段4に入力する。
As a result, the input interpreting means 3 extracts the movement command and inputs it to the memory updating means 4.

記憶更新手段4は、上記複写時の処理と同様の処理を行
うと共に、その後、移動元のボックスについて前記削除
と同じ処理を行う。
The memory update unit 4 performs the same process as the process at the time of copying, and thereafter performs the same process as the deletion process for the source box.

以上の説明から理解されるように、このPAD作成装置
1によれば、画像表示装置7に表示されたPADチャー
トに基づいて変更操作を行うので、操作が容易である。
As can be understood from the above description, according to this PAD creation device 1, the changing operation is performed based on the PAD chart displayed on the image display device 7, so the operation is easy.

一方、その変更操作により変更されるのは、PADチャ
ートそのものではなく、記憶手段における記憶内容であ
る。そして、その記憶内容に基づいて画面構成手段がP
ADチャートを新たに構成するから、不自然に見える画
面を中間的に生じることがなく、直接的に従って迅速に
変更を行うことができる。
On the other hand, what is changed by the change operation is not the PAD chart itself but the contents stored in the storage means. Then, based on the memory contents, the screen configuring means P
Since the AD chart is newly constructed, changes can be made directly and quickly without creating an unnatural-looking screen.

また、記憶手段5の記憶内容からPADチャートを構成
するが、その逆は不必要であるから、従来に較べて構成
を簡略化できる利点もある。
Further, although the PAD chart is constructed from the contents stored in the storage means 5, the reverse is not necessary, so there is an advantage that the construction can be simplified compared to the conventional method.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、入力操作手段、入力解釈手段、記憶更
新手段、記憶手段、画面構成手段および画像表示手段を
具備し、対話式に構造化プログラムを作成する装置にお
いて、記憶手段は構造化プログラムの要素の種類と内容
と接続とを記憶し、画面構成手段は前記記憶手段の記憶
内容に基づいて構造化プログラムのチャートの画面を構
成して画像表示手段に表示すると共にその構造化プログ
ラムのチャート中に若しくは構造化プログラムのチャー
ト外に命令域を作成し、入力解釈手段は前記命令域に入
力操作手段を用いて入力された構造化プログラムの変更
命令を抽出し、記憶更新手段は前記抽出した変更命令に
基づいて前記記憶手段の記憶内容を更新することを特徴
とする構造化プログラム作成装置が提供され、これによ
り構造化プログラムの作成・変更の操作を簡単化するこ
とが出来、所要時間を短縮できる。更に、構成を簡単化
できる効果もある。
According to the present invention, in an apparatus for interactively creating a structured program, which includes an input operation means, an input interpretation means, a memory updating means, a storage means, a screen composition means, and an image display means, the storage means includes a structured program. The screen configuring means configures a screen of a chart of a structured program based on the stored contents of the storage means and displays it on the image display means, and the chart of the structured program. An instruction area is created inside or outside the chart of the structured program, the input interpretation means extracts a change instruction of the structured program input into the instruction area using the input operation means, and the memory update means extracts the instruction for changing the structured program inputted into the instruction area using the input operation means. A structured program creation device is provided, characterized in that the storage contents of the storage means are updated based on a change instruction, and thereby the operation of creating and changing a structured program can be simplified, and the required time can be reduced. Can be shortened. Furthermore, there is an effect that the configuration can be simplified.

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

第1図は本発明の一実施例のPAD作成装置のブロック
図、第2図は記憶手段の記憶内容を示す図表、第3図は
PAD要楽に書き込まれる文字の記憶形式を示す図表、
第4図及び第5図は接続関係を説明するためのPADチ
ャート図、第6図はPAD作成の最初の画面の例示図、
第7図はPAD要素選択画面の例示図、第8図は処理ボ
ックスを選択したときのPADの記憶内容を示す図表、
第9図は第8図の記憶内容から構成されたPADチャー
トの例示図、第10図は処理ボックスに書き込まれた文
字の記憶内容を示す図表、第11図は記憶されたPAD
の一例の図表、第12図は第11図に示す記憶内容から
構成されたPADチャートの例示図、第13図は削除命
令を記入したPADチャートの例示図、第14図及び第
15図は削除命令により記憶内容を変更する状態の図表
、第16図は変更後の記憶内容の図表、第17図は第1
6図に示す記憶内容から構成されたPADチャートの例
示図、第18図は挿入命令を記入したPADチャートの
例示図、第19図及び第20図は挿入命令により記憶内
容を変更する状態の図表、第21図は第20図に示す記
憶内容から構成されたPADチャートの例示図、第22
図は複写命令を記入したPADチャートの例示図、第2
3図は複写命令により内容を変更する状態の図表である
。 〔符号の説明〕 l・・・PAD作成装置 2・・・入力操作手段 3・・・入力解釈手段 4・・・記憶更新手段 5・・・記憶手段 6・・・画面構成手段 7・・・画像表示手段 11.12,112.172・・・命令域。
FIG. 1 is a block diagram of a PAD creation device according to an embodiment of the present invention, FIG. 2 is a diagram showing the storage contents of the storage means, and FIG. 3 is a diagram showing the storage format of characters written in the PAD key.
Figures 4 and 5 are PAD chart diagrams for explaining connection relationships, Figure 6 is an example diagram of the first screen for PAD creation,
FIG. 7 is an exemplary diagram of the PAD element selection screen, and FIG. 8 is a diagram showing the memory contents of the PAD when a processing box is selected.
Fig. 9 is an example of a PAD chart constructed from the memory contents of Fig. 8, Fig. 10 is a chart showing the memory contents of characters written in the processing box, and Fig. 11 is a diagram showing the stored PAD chart.
An example of a chart; Figure 12 is an example of a PAD chart composed of the memory contents shown in Figure 11; Figure 13 is an example of a PAD chart with deletion instructions written; Figures 14 and 15 are deletion instructions. A diagram of the state in which the memory contents are changed by a command, Figure 16 is a diagram of the memory contents after the change, and Figure 17 is a diagram of the memory contents after the change.
Figure 6 shows an example of a PAD chart composed of the stored contents, Figure 18 shows an example of a PAD chart with an insert command written in it, and Figures 19 and 20 show how the stored contents are changed by an insert command. , FIG. 21 is an exemplary diagram of a PAD chart constructed from the memory contents shown in FIG. 20, and FIG.
The figure is an example of a PAD chart with copy instructions written in it.
FIG. 3 is a diagram showing the state in which contents are changed by a copy command. [Explanation of symbols] l... PAD creation device 2... Input operation means 3... Input interpretation means 4... Memory updating means 5... Storage means 6... Screen composition means 7... Image display means 11.12, 112.172... Command area.

Claims (1)

【特許請求の範囲】 1、入力操作手段、入力解釈手段、記憶更新手段、記憶
手段、画面構成手段および画像表示手段を具備し、対話
式に構造化プログラムを作成する装置において、 記憶手段は構造化プログラムの要素の種類 と内容と接続とを記憶し、画面構成手段は前記記憶手段
の記憶内容に基づいて構造化プログラムのチャートの画
面を構成して画像表示手段に表示すると共にその構造化
プログラムのチャート中に若しくは構造化プログラムの
チャート外に命令域を作成し、入力解釈手段は前記命令
域に入力操作手段を用いて入力された構造化プログラム
の変更命令を抽出し、記憶更新手段は前記抽出した変更
命令に基づいて前記記憶手段の記憶内容を更新すること
を特徴とする構造化プログラム作成装置。
[Scope of Claims] 1. An apparatus for interactively creating a structured program, comprising an input operation means, an input interpretation means, a memory updating means, a storage means, a screen composition means, and an image display means, wherein the storage means has a structure. The screen composition means stores the types, contents, and connections of the elements of the structured program, and the screen composition means composes a chart screen of the structured program based on the stored contents of the storage means and displays it on the image display means, and also displays the structured program on the image display means. An instruction area is created in the chart of the structured program or outside the chart of the structured program, the input interpretation means extracts a structured program modification instruction input into the instruction area using the input operation means, and the memory update means A structured program creation device, characterized in that the storage contents of the storage means are updated based on the extracted change command.
JP62315003A 1987-12-11 1987-12-11 Structured program preparing device Pending JPH01155436A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62315003A JPH01155436A (en) 1987-12-11 1987-12-11 Structured program preparing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62315003A JPH01155436A (en) 1987-12-11 1987-12-11 Structured program preparing device

Publications (1)

Publication Number Publication Date
JPH01155436A true JPH01155436A (en) 1989-06-19

Family

ID=18060243

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62315003A Pending JPH01155436A (en) 1987-12-11 1987-12-11 Structured program preparing device

Country Status (1)

Country Link
JP (1) JPH01155436A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04278634A (en) * 1991-02-28 1992-10-05 Internatl Business Mach Corp <Ibm> Tree growth system and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04278634A (en) * 1991-02-28 1992-10-05 Internatl Business Mach Corp <Ibm> Tree growth system and method

Similar Documents

Publication Publication Date Title
US5638505A (en) Apparatus and methods for moving/copying objects using destination and/or source bins
US7237193B1 (en) Unified program for simultaneously displaying graphically-editable graphics presentation and linguistically-editable linguistic definition of the graphics presentation and for synchronizing the graphics presentation and the linguistic definition to one another
JPS62214430A (en) Generation of online display for information processing system
JPH028339B2 (en)
JPH10187449A (en) Object-directed programming device, object-oriented programming backup device component generating device, object-oriented program storage medium, program storage medium for object-oriented programming, component storage means, and inter-object network display method
JPH07200278A (en) Program system using graphic
JPH06131433A (en) Method and data processing system for direct edition
JPH05225185A (en) Document processor
JP3288460B2 (en) Display data generation apparatus and method
JPS6184689A (en) Document editing system
JPH01155436A (en) Structured program preparing device
JPH0384661A (en) Document producing device
JP3965836B2 (en) Image processing system
JP4719743B2 (en) Graph processing device
JP3598594B2 (en) Document processing apparatus and document processing method
JPH10222356A (en) Application generating device and application generating method
JPH03119465A (en) Document editing device
JP2978178B2 (en) Document creation apparatus and control method thereof
JPH04237095A (en) Video display controller
JPS59125406A (en) Automatic computer programming device
JPH086928A (en) Method and device for processing document
JPH0431969A (en) Block diagram generating method
JPH058435B2 (en)
JPH039475A (en) Circuit diagram input system in cad system
JPS62145423A (en) Automatically generating method for program specification