JPS63127333A - Flowchart type programming device - Google Patents
Flowchart type programming deviceInfo
- Publication number
- JPS63127333A JPS63127333A JP27348986A JP27348986A JPS63127333A JP S63127333 A JPS63127333 A JP S63127333A JP 27348986 A JP27348986 A JP 27348986A JP 27348986 A JP27348986 A JP 27348986A JP S63127333 A JPS63127333 A JP S63127333A
- Authority
- JP
- Japan
- Prior art keywords
- flowchart
- program
- instruction
- instruction word
- relative location
- 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
- 238000004364 calculation method Methods 0.000 claims description 2
- 238000006243 chemical reaction Methods 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 2
- 210000000988 bone and bone Anatomy 0.000 description 1
- 229910003460 diamond Inorganic materials 0.000 description 1
- 239000010432 diamond Substances 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 230000001105 regulatory effect Effects 0.000 description 1
Abstract
Description
【発明の詳細な説明】
(発明の分野)
この発明は、流れ図式プログラミング装置の改良に関す
る。DETAILED DESCRIPTION OF THE INVENTION Field of the Invention This invention relates to improvements in flowchart programming devices.
(発明の概要)
この発明では、特定データ処理装置に所望の仕事を実行
させる場合のプログラム(命令語列)を、流れ図を用い
てプログラミングすることができるとともに、完成した
プログラムに基づいて当初作成された流れ図を正確に再
現できるようにしたものである。(Summary of the Invention) According to the present invention, a program (instruction word sequence) for causing a specific data processing device to execute a desired task can be programmed using a flowchart, and a program that is originally created based on the completed program can be programmed. This allows the accurate reproduction of flowcharts.
(従来技術とその問題点)
従来、この種の流れ図式プログラミング装置を用いて例
えばBASICプログラムを作成する場合、ユーザはキ
ーボードを操作してカーソルを移動させることによって
、所望画面位置に命令記号(所望のBASIC二一モニ
ツクを長方形、菱形などで囲んだ図形)を描くことによ
って、流れ図(フローチャート)を完成する。(Prior art and its problems) Conventionally, when creating a BASIC program using this type of flowchart programming device, the user operates the keyboard to move the cursor to place a command symbol (desired Complete the flowchart by drawing a figure (shape in which the BASIC 21 monic is surrounded by a rectangle, diamond, etc.).
すると、公知の変換ソフトの作用により、画面バッファ
上に作成された流れ図情報は、BAS ICの命令語列
に変換され、プログラミングが完成する。Then, by the action of known conversion software, the flowchart information created on the screen buffer is converted into a BASIC command string, and programming is completed.
一方、この種の流れ図式プログラミング装置に必っては
、デバッグ等の便宜のために、完成されたプログラムに
基づいて逆に流れ図を再現する機能が備えられているの
が通例であるが、この再現の際のアルゴリズムは、例え
ば分岐命令において肯定分岐は真下へ、否定分岐は右横
へ等のような一定の規則に基づいて行なわれるため、仮
に第6図に示されるような流れ図を用いてプログラミン
グを行なったにも拘らず、完成されたプログラムに基づ
いて流れ図を再現すると、第7図に示されるように全く
異なったイメージの流れ図が作成され、プログラム作成
者を戸惑わせるという問題があった。On the other hand, this type of flowchart programming device is usually equipped with a function to reproduce the flowchart based on the completed program for convenience such as debugging. The algorithm used for reproduction is based on certain rules, such as branching instructions such that affirmative branches go straight down, negative branches go right sideways, etc., so if we use the flowchart shown in Figure 6, Despite programming, when a flowchart is reproduced based on the completed program, a flowchart with a completely different image is created, as shown in Figure 7, which confuses the program creator. Ta.
このような問題を解決する一案としては、例えば完成さ
れたプログラム中の各命令語に、流れ図上の該当絶対座
標を付すことが考えられるが、これでは座標情報桁数に
よってプログラム容量が膨大となり、到底実用に供し得
ないという問題がおる。One way to solve this problem is to attach the corresponding absolute coordinates on the flowchart to each instruction word in the completed program, but this would increase the program capacity due to the number of digits in the coordinate information. However, there is a problem that it cannot be put to practical use.
(発明の目的)
この発明の目的は、プログラム容量をさほど増大さける
ことなく、しかも当初作成された流れ図をiE ffr
に再現できるようにした流れ図式プログラミング装置を
提供することにある。(Object of the Invention) An object of the invention is to update the originally created flowchart to iE ffr without significantly increasing the program capacity.
An object of the present invention is to provide a flowchart programming device that can be reproduced.
(発明の構成と効果)
この発明は上記の目的を達成するために、所望する仕事
内容に相当する流れ図情報を入力する流れ図入力手段と
、
入力された流れ図情報を解読して特定データ91理装置
の命令語列に変換する命令語列変換手段と、流れ図上の
各命令記号について、そのnつ前に実行される命令記号
との流れ図上における(目対位置を求める相対位置演算
手段と、
求められた相対位置情報を、前記命令語列中の各対応命
令語に付加してプログラムを完成する編集手段と、
を具備することを特徴とするものである。(Structure and Effects of the Invention) In order to achieve the above object, the present invention includes a flowchart input means for inputting flowchart information corresponding to desired work content, and a specific data 91 processing device for decoding the inputted flowchart information. a command string conversion means for converting the command string into a command string; a relative position calculation means for calculating the (eye-to-eye position) on the flowchart for each command symbol on the flowchart with the command symbol to be executed n times before; and editing means for adding the relative position information obtained to each corresponding instruction word in the instruction word string to complete the program.
このような構成によれば、完成されたプログラムの各命
令語に付加される情報は、高々1バイ1゛・程度で足り
るため、さほどプログラム容量を増大させることなく、
しかも完成されたプログラムに従って当初作成された流
れ図を性格に再現することが可能となる。According to such a configuration, the information added to each instruction word of a completed program only needs to be about 1 by 1 inch at most, so the program capacity does not increase significantly.
Moreover, it becomes possible to faithfully reproduce the flowchart originally created according to the completed program.
(実施例の説明)
第1図は、本発明に係る流れ図式プログラミング装置の
一例を示す外観斜視図でおる。(Description of Embodiments) FIG. 1 is an external perspective view showing an example of a flow chart type programming device according to the present invention.
同図に示す如く、この流れ図式プログラミング装置1は
プリンタ11.CRT表示器12.キーボード13.パ
ーソナルコンピュータ14.、uよびフロッピーディス
クドライバ15などから構成されている。As shown in the figure, this flowchart programming device 1 includes a printer 11. CRT display 12. Keyboard 13. Personal computer 14. , u, and a floppy disk driver 15.
イして、パーソナルコンピュータ14では、第2図およ
び第3図のフロ、−チャートに示される制御プログラム
を実行することによって、プログラム作成速理および流
れ図再現処理を行なうようになされている。The personal computer 14 executes the control programs shown in the flowcharts of FIGS. 2 and 3 to perform program creation and flowchart reproduction processing.
そこで、まず流れ図に基づきBASICプログラムを作
成する動作を第2図を参照して説明する。First, the operation of creating a BASIC program will be explained based on the flowchart with reference to FIG.
ユーザは、キーボード13を用いてCRT表示器12の
画面上にカーソルを適宜移動させ、第4図に示されるよ
うに、多数の命令記号2を配列して所望の仕事内容に相
当する流れ図を完成する。The user uses the keyboard 13 to move the cursor appropriately on the screen of the CRT display 12, and as shown in FIG. 4, arranges a large number of command symbols 2 to complete a flowchart corresponding to the desired work content. do.
すると、各命令記号2は、画面パンツアメモリ上の各単
位区画3に記憶され、以上で流れ図情報の入力処理が完
成する(ステップ201)。Then, each command symbol 2 is stored in each unit section 3 on the screen panzer memory, and the flowchart information input process is completed (step 201).
すると、公知のエディタの作用により、流れ図上の各単
位区画から命令へRが抽出され、これを所定の規則に従
って配列することにより、BAS ICプログラムが作
成される。この状態のBAS ICプログラムは、未だ
従来のものと同一でおる(ステップ202)。Then, by the action of a known editor, R is extracted from each unit section on the flowchart into instructions, and a BAS IC program is created by arranging the instructions according to a predetermined rule. The BAS IC program in this state is still the same as the conventional one (step 202).
次いで、再び画面バッファメモリを参照することによっ
て、流れ図上の各命令語について、その1つ前に実行さ
れる命令語との相対位置か演算により求められる。すな
わち、第4図において、1シ11えば命令語11FA≦
O」は、その1つ前に実行される命令ffi’rA=B
Jに対して、下方へ「1号および右方へ「○」の相対位
置にある。このようにして、それぞれ1つ前に実行され
る印令語に対して、下方および右方への距離を求め、こ
れを相対位置情報として記憶する(ステップ203)。Next, by referring to the screen buffer memory again, the relative position of each instruction word on the flowchart with respect to the instruction word executed immediately before it is calculated. That is, in FIG. 4, for example, instruction word 11FA≦
O' is the instruction ffi'rA=B executed before it.
With respect to J, it is in the relative position of "No. 1" downward and "○" to the right. In this way, the distances downward and to the right are determined for each previously executed seal word, and these are stored as relative position information (step 203).
最後に、ステップ202で作成されたBAS ICプロ
グラム中の各命令語のそれぞれについて、相対位置情報
を付加することにより、第5図に示されるように最終的
なりASICプログラムが完成する(ステップ204)
。Finally, by adding relative position information to each instruction word in the BAS IC program created in step 202, the final ASIC program is completed as shown in FIG. 5 (step 204).
.
同図から明らかなように、完成プログラム4の各命令語
3には、相対位置情報5が付加されている。従って、こ
の相対位置情報5に基づき、当初作成された流れ図を正
確に再現できる。As is clear from the figure, relative position information 5 is added to each instruction word 3 of the completed program 4. Therefore, based on this relative position information 5, the originally created flowchart can be accurately reproduced.
次に、第3図のフローチャー]・を参照しながら、完成
プログラム4に基づき当初作成された流れ図を再現する
動作を説明する。Next, the operation of reproducing the flowchart originally created based on the completed program 4 will be explained with reference to the flowchart shown in FIG.
まず、完成された相対位置情報骨BASICプログラム
4が存在するならば、これを例えばフロッピーディスク
ドライバ15を介して、コンピュータ14にロードする
(ステップ301)。First, if a completed relative position information bone BASIC program 4 exists, it is loaded into the computer 14 via, for example, the floppy disk driver 15 (step 301).
次いて、入力処理(ステップ301)が終了したならば
、完成プログラム4を追うことによって必要な命令語を
検索し、これを一定の順序で配列する(ステップ302
)。Next, when the input processing (step 301) is completed, necessary command words are searched for by following the completed program 4 and arranged in a certain order (step 302).
).
次いで、検索された各命令語を、その末尾に付された相
対位置情報5に従って画面バッファ上に配置する(ステ
ップ303)。Next, each retrieved command word is arranged on the screen buffer according to the relative position information 5 attached to the end thereof (step 303).
この配置は、前述した如く、相対位置情報5に基づき、
右へ進む距離Rおよび下へ進む距離りを求めることで行
なわれる。As mentioned above, this arrangement is based on the relative position information 5,
This is done by finding the distance R to the right and the distance R to move down.
次いで、画面バッファ上において、各命令語同士をプロ
グラムの進み方に従って結線することによって、当初作
成された流れ図の再現が終了する(ステップ304)。Next, each instruction word is connected to each other on the screen buffer according to the progress of the program, thereby completing the reproduction of the originally created flowchart (step 304).
以上の如くして作成された流れ図は、相対位置情報5に
基づいて作成されているため、例えば第4図に示される
ような空き部分6が存在したとしても、これが上下につ
められことなく、当初作成された流れ図と同様に空き部
分6を残したまま再現される。Since the flow chart created as described above is created based on the relative position information 5, even if there is an empty space 6 as shown in FIG. The flowchart is reproduced with the empty portion 6 left in the same way as the originally created flowchart.
また、第6図に示されるように内定分岐を右方へまた否
定分岐を下方へ規則づけて流れ図を作成した場合であれ
ば、その規則通りに流れ図が再現されることとなり、当
初の流れ図作成者を戸惑わせることもない。In addition, if a flowchart is created by regulating the formal branch to the right and the negative branch to the downward direction as shown in Figure 6, the flowchart will be reproduced according to the rules, and the original flowchart will be created. It will not confuse anyone.
また、各命令語3に付加される相対位置情報5としては
、1つ前に実行すべき命令語3との相対距離で済むため
、高々1バイト程度の情報付加で済み、プログラム容量
を膨大化することもない。In addition, the relative position information 5 added to each instruction word 3 is just the relative distance to the previous instruction word 3 to be executed, so at most 1 byte of information is added, increasing the program capacity. There's nothing to do.
なお、この装置で完成されたBASICプログラムは既
存のBASICプログラムとは若干具なるが、相対位置
情報5についてはコメント文として取扱うようにインク
プリンタすれば、特にプログラム実行に支障はない。The BASIC program completed with this device is slightly different from existing BASIC programs, but if the ink printer is used so that the relative position information 5 is treated as a comment, there will be no particular problem in program execution.
第1図は本発明に係る流れ図式プログラミング装置の外
観を示す斜視図、第2図はプログラム作成処理の詳細を
示すフローヂャート、第3図は流れ図再現処理の詳細を
示すフローヂャート、第4図は当初作成された流れ図の
一例を示す説明図、第5図は完成プログラムの内容を示
すプログラムリスト、第6図および第7図は従来装置の
動作を説明するための説明図である。
1・・・流れ図式プログラミング装置
11・・・プリンタ
12・・・CRT表示器
13・・・キーボード
14・・・パーソナルコンピュータ
15・・・フロッピーディスクドライバ2・・・命令記
号
3・・・命令語
4・・・完成プログラム
5・・・相対位置情報
6・・・空き部分
D・・・・・・下へ進む距離
R・・・・・・右へ進む距離
第3図
第5図Fig. 1 is a perspective view showing the external appearance of a flowchart programming device according to the present invention, Fig. 2 is a flowchart showing details of program creation processing, Fig. 3 is a flowchart showing details of flowchart reproduction processing, and Fig. 4 is an original FIG. 5 is an explanatory diagram showing an example of a created flowchart, FIG. 5 is a program list showing the contents of a completed program, and FIGS. 6 and 7 are explanatory diagrams for explaining the operation of the conventional apparatus. 1... Flow chart programming device 11... Printer 12... CRT display 13... Keyboard 14... Personal computer 15... Floppy disk driver 2... Command symbol 3... Command word 4... Completed program 5... Relative position information 6... Vacant area D... Distance to move downward R... Distance to move to the right Fig. 3 Fig. 5
Claims (1)
る流れ図入力手段と、 入力された流れ図情報を解読して特定データ処理装置の
命令語列に変換する命令語列変換手段と、流れ図上の各
命令記号について、その1つ前に実行される命令記号と
の流れ図上における相対位置を求める相対位置演算手段
と、 求められた相対位置情報を、前記命令語列中の各対応命
令語に付加してプログラムを完成する編集手段と、 を具備することを特徴とする流れ図式プログラミング装
置。(1) A flowchart input means for inputting flowchart information corresponding to the desired work content; a command string conversion means for decoding the input flowchart information and converting it into a command string for a specific data processing device; Relative position calculation means for determining the relative position of each instruction symbol on the flowchart with respect to the instruction symbol executed immediately before it, and adding the obtained relative position information to each corresponding instruction word in the instruction string. A flowchart programming device comprising: editing means for completing a program by completing the steps;
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP27348986A JPS63127333A (en) | 1986-11-17 | 1986-11-17 | Flowchart type programming device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP27348986A JPS63127333A (en) | 1986-11-17 | 1986-11-17 | Flowchart type programming device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS63127333A true JPS63127333A (en) | 1988-05-31 |
Family
ID=17528615
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP27348986A Pending JPS63127333A (en) | 1986-11-17 | 1986-11-17 | Flowchart type programming device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS63127333A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04104324A (en) * | 1990-08-24 | 1992-04-06 | Fuji Xerox Co Ltd | Program generating device |
US7310784B1 (en) | 2002-01-02 | 2007-12-18 | The Jellyvision Lab, Inc. | Methods for identifying cells in a path in a flowchart and for synchronizing graphical and textual views of a flowchart |
US8127238B2 (en) | 2006-12-14 | 2012-02-28 | The Jellyvision Lab, Inc. | System and method for controlling actions within a programming environment |
US8276058B2 (en) | 2007-02-08 | 2012-09-25 | The Jellyvision Lab, Inc. | Method of automatically populating and generating flowerchart cells |
US8521709B2 (en) | 2006-10-31 | 2013-08-27 | The Jellyvision Lab, Inc. | Methods for preloading media assets |
-
1986
- 1986-11-17 JP JP27348986A patent/JPS63127333A/en active Pending
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04104324A (en) * | 1990-08-24 | 1992-04-06 | Fuji Xerox Co Ltd | Program generating device |
US7310784B1 (en) | 2002-01-02 | 2007-12-18 | The Jellyvision Lab, Inc. | Methods for identifying cells in a path in a flowchart and for synchronizing graphical and textual views of a flowchart |
US8464169B2 (en) | 2002-01-02 | 2013-06-11 | The Jellyvision Lab, Inc. | Methods for identifying cells in a path in a flowchart and for synchronizing graphical and textual views of a flowchart |
US8521709B2 (en) | 2006-10-31 | 2013-08-27 | The Jellyvision Lab, Inc. | Methods for preloading media assets |
US8127238B2 (en) | 2006-12-14 | 2012-02-28 | The Jellyvision Lab, Inc. | System and method for controlling actions within a programming environment |
US8276058B2 (en) | 2007-02-08 | 2012-09-25 | The Jellyvision Lab, Inc. | Method of automatically populating and generating flowerchart cells |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH0458052B2 (en) | ||
JPH02123468A (en) | Plotting of computer-aided plotting system | |
JPH07160827A (en) | Handwritten stroke editing device and method therefor | |
JPS63127333A (en) | Flowchart type programming device | |
JPH08329004A (en) | Method for improving terminal operability of application program use | |
JP2875135B2 (en) | Program device for programmable controller | |
JP2723109B2 (en) | Image processing method | |
JP2598436B2 (en) | Character output device | |
JP3674905B2 (en) | Document editing device | |
JP3083552B2 (en) | Hierarchy editing processor | |
JP2851852B2 (en) | Information processing device | |
JP2572441B2 (en) | Form-specific figure creation device | |
JPS6314194A (en) | Editor/register for character pattern | |
JP2622658B2 (en) | Graphic data creation device | |
JPS58215692A (en) | Copy indication system | |
JP2722544B2 (en) | Data processing device | |
JP2616328B2 (en) | Graphic processing method and apparatus | |
JP2616427B2 (en) | String display device | |
JPH0317741A (en) | Program production support device | |
JPS63318605A (en) | Nc part program generating device | |
JP2002169793A (en) | Document editing device, document editing method and recording medium recording document editing program | |
JP2616426B2 (en) | String display device | |
JP3345142B2 (en) | Document processing device with ruled line display function | |
JP2757367B2 (en) | Character processor | |
JPH02285414A (en) | Key display processing system |