JPS60181835A - Information processor - Google Patents

Information processor

Info

Publication number
JPS60181835A
JPS60181835A JP59035932A JP3593284A JPS60181835A JP S60181835 A JPS60181835 A JP S60181835A JP 59035932 A JP59035932 A JP 59035932A JP 3593284 A JP3593284 A JP 3593284A JP S60181835 A JPS60181835 A JP S60181835A
Authority
JP
Japan
Prior art keywords
data
input
program
instruction
command
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
JP59035932A
Other languages
Japanese (ja)
Inventor
Toshio Toyoda
豊田 俊夫
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP59035932A priority Critical patent/JPS60181835A/en
Publication of JPS60181835A publication Critical patent/JPS60181835A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Devices For Executing Special Programs (AREA)

Abstract

PURPOSE:To check matching between the input data and a program without using any special instruction for check and also in case a data input time, by providing a data attribute designating field for input data and a program language input means including an input instruction which indicates the data input. CONSTITUTION:A flag showing the attribute of the data to be fed is set in a system working area of a main memory which undergoes the access control by a CPU. For the program executing procedure, it is decided whether or not a program pointer PP is showing the termination of a program area. If the PP does not show said termination, the data (instructions, sentences) starting at an address position shown by the PP is executed. When an instruction (sentence) is executed, the PP is replaced in accordance with the instruction. This instruction means an input instruction which designates the input of data from an input device, an instruction which designates the four rules of arithmetic, etc. In case, the PP shows the termination of the program area, the processing is carried out for program end and the control is shifted to the 1-row input processing.

Description

【発明の詳細な説明】 この発明は、キーボードなどの入力装置から入力される
プログラム言語で作成式れたプログラムを必要に応じて
実行する16報処理装拗.に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention provides a 16-report processing system that executes a program written in a programming language input from an input device such as a keyboard as needed. Regarding.

〔発明の技術的背景とその問題点」 一般に、この棟の惰報処JM1装萌では、グロダラム言
語で作成されたプログラム中に入力装置からのデータ入
力を指定する入力語711が言まれている場合、当該入
力命令に?’itって当該人力装置を用いたデータ入力
操作が行なわれることに工9、該当データが入力データ
として取込まれる。このようにして取込まれたデータが
、プログラムで必要とするデータの属性(例えは数字な
ど)を満足しないものである場合、プログラムが中断す
る恐れがある。そこで従来は、入力データのプログラム
との整合性をチェックする特別の命令をプログラム(ユ
ーザプログラム)中に用7はし、当該命令によりデータ
チェックを行なっていた。
[Technical background of the invention and its problems] In general, in this building's JM1 installation, an input word 711 that specifies data input from an input device is said in a program created in the Glodarum language. If so, what about the input instruction? 'it' means that a data input operation is performed using the human-powered device, and the corresponding data is taken in as input data. If the data imported in this way does not satisfy the data attributes (for example, numbers) required by the program, there is a risk that the program will be interrupted. Conventionally, therefore, a special instruction for checking the consistency of input data with the program has been included in a program (user program), and the data has been checked using this instruction.

このため、従来の情報処理装置では、人力装置からの入
力プログラム1暗でイ乍成されるプログラムが複信(に
なる欠点があった。
For this reason, conventional information processing apparatuses have the disadvantage that a program that is automatically generated by inputting a program from a human-powered device becomes duplex.

し発明の目的」 この発明は上記串fff VC旙みてなされたものでそ
の目的は、人力データのプログラムとの整合性チェック
が、チェック用の特別の命令を用意することなく、しか
もデータ入力時に行なえる情報処理装置を提供すること
にある口 〔発明の概装J このつ6明では、入力すべきデータの脳性を指定するデ
ータ属性指定フィールドを有し、データ入力を指示する
入力命令を宮むプログラム言語を人力するプログラム8
語入力 れている。この入力手段によって入力されたプログラム
言語中の入力命令の実行に際し、各種データ属性を示す
データ属性フラグのうち、当該命令中のデータ属性指定
フィールドの内容に対応するフラグが、フラグオン手段
によってオンされる。データ取込み手段Qよ、各棟デー
タを入力するデータ入力手段から上記入力命令に従−っ
てデータが入力されると、当Ml f’−夕の属性が7
ラグオン手段によってオンされているフラグの示すデー
タ属性に一致するか否かを検出し、その検出結果に応じ
て入力データの取込みを行なう〇 〔発明の実施例」 第1図はこの発明の一実施例に係る例えばパーソナルコ
ンピュータシステムなどの情報処理′装置の構成を示す
。同図において10(ゴ装置の中心を成すCPUであり
、演算・論理装j4、制御装置(図示せず)を脣する。
This invention was made in response to the above-mentioned VC.The purpose of this invention is to check the consistency of human data with a program without preparing a special instruction for checking, and moreover, at the time of data input. An object of the present invention is to provide an information processing device that has a data attribute specification field that specifies the nature of the data to be input, and that executes an input command that instructs data input. Program to manually learn programming language 8
Word input is complete. When executing an input command in a programming language input by this input means, a flag corresponding to the content of the data attribute specification field in the command is turned on by a flag-on means, among data attribute flags indicating various data attributes. . Data importing means Q, when data is input from the data inputting means for inputting each building data according to the above input command, the attribute of this Ml f'-evening is 7.
The 1st of this invention, which detects whether or not it matches the data attributes indicated by the flag on the lagon, and imports input data according to the detection result shows one of the inventions in the first invention. 1 shows a configuration of an information processing apparatus such as a personal computer system according to an example. In the figure, 10 (a CPU forming the center of the device) includes an arithmetic/logic device 4 and a control device (not shown).

20にcpu z oによってアクセス制御される主メ
モリである。主メモリ20には、機械語で記述されたシ
ステムプログラムを格納するシステムプログラムエリア
( SPA ) 2 1 、システムプログラムの実行
の際に使用されるシステムワーキングエリア( SWA
 ) 2 2、成る一つのソースプログラムを格納する
プログラムエリア(Pk)23、およびソースプログラ
ムの実行の際に取扱われるデータを格納するfログラム
ワーキングエリア( PWA ) 2 4とが割付けら
れている。また、主メモリ20のシステムワーキングエ
リア22には、第2図に示すように、入力すべきデータ
の属性が大文字であることを示す”大文字フラグ( L
CF ) 2.? Z 、および入力すべきデータの属
性が数字であることを示す数字フラグ(NF’)222
が設定され、る。
20 is a main memory whose access is controlled by CPU ZO. The main memory 20 includes a system program area (SPA) 21 that stores system programs written in machine language, and a system working area (SWA) that is used when executing system programs.
) 22, a program area (Pk) 23 for storing one source program, and a program working area (PWA) 24 for storing data handled during execution of the source program. Additionally, in the system working area 22 of the main memory 20, as shown in FIG.
CF) 2. ? Z, and a numeric flag (NF') 222 indicating that the attribute of the data to be input is a number.
is set.

第1図において、30はプリンタ( PRT )、40
はCRTfイスプレイ( CRT )、50はキーボー
ド(KB)、60は補助記憶装置としてのカセットテー
プレコーダ(CTR)、7(1;を同じく補助記憶装置
としてのフロッピーディスク装置( FDD )である
。また、81〜86はインタフェース(IF)である。
In FIG. 1, 30 is a printer (PRT), 40
is a CRTf display (CRT), 50 is a keyboard (KB), 60 is a cassette tape recorder (CTR) as an auxiliary storage device, and 7 (1; is a floppy disk device (FDD) also as an auxiliary storage device. 81 to 86 are interfaces (IF).

主メモリ20、プリンタ30,CRTデイスプレイ40
,キーボード50、カセットテープレコーダ60,およ
びフロッピーディスク装置70は、インタフェース81
〜86によりCPU1’0と結合されている。
Main memory 20, printer 30, CRT display 40
, keyboard 50, cassette tape recorder 60, and floppy disk device 70 are connected to the interface 81.
~86 is coupled to CPU1'0.

次に、この発明の一実施例の動作を第3図、第5図、第
6図のフローチャート、および第4図のプログラムを参
照して説明する。今、主メモリ20のシステムプログラ
ムエリア( 5PAJ21に、機械語で記述されたシス
テムプログラムが格納されており、各部の初期化も終了
し、第1図の装置が動作可能状態にあるものとする。
Next, the operation of one embodiment of the present invention will be explained with reference to the flowcharts shown in FIGS. 3, 5, and 6, and the program shown in FIG. 4. It is now assumed that a system program written in machine language is stored in the system program area (5PAJ21) of the main memory 20, initialization of each part has been completed, and the apparatus shown in FIG. 1 is ready for operation.

この状態で、システムプログラムが走行する。In this state, the system program runs.

第3図はシステムプログラムのフローチャートを示すも
ので、まずステップAで、キーボード(KB)5(+か
らのデータの入力処理が、キャリッジリターンキー( 
C/Rキー〕がキー操作されるまで(即ち、1行入力の
終了が指示されるまで〕行なわれる。次のステップBで
は、ステップAで入力されたデータの解析が行なわれる
。CPU 1 0はステップA,Bを実行すると、入力
されたデータが実行を指定するデータ(コマントと呼ぶ
)であるか否かの判定を行なう(ステラ7″C)。ステ
、fCでの判定がNo判定のj、l、3合、CPUは、
上記入力されたデータを主メモリ20のプログラムエリ
ア(PA)2.9にラインナンバ用自CC格fl’] 
L (ステップD)、次の1行処理のためにステラfk
に戻る。一方、ステップCでのl用定がYES判定の揚
台、CPU Z Oは、上i(シ入力をれたデータ、即
ち入力コマンドに従った処理に分岐する(ステップE)
。本装置で適用されるコマンドは、例えは主メモリ20
0グログラムエリア23に格納されているプログラムリ
ストヲCRT/″イスプレイ40に表示する(ステップ
F)コマンド、上d1プログラムリストヲカセットテー
グレコーダ(CR’[’ ) 6oに保存する(ステッ
プG)コマンド9、上記プログラムリストをフロッピー
ディスク装置(F’DD )70に保存する(ステップ
H)コマンド、上記プログラムリストをプリンタ(PR
T ) 3oから印刷出力する(ステップI)コマンド
、艷にはプログラムエリア(P A ) 2 J VC
格納ジれているプログラムを実行する(ステップJ−M
)コマンド(RUNコマンドと呼ぶ)などである。した
がって、上記入力されフ1=データがRUNコマンドで
ある場合には、ステップA−Dの繰返しによって主メモ
リ20のプログラムエリア23に用し斂さ才したプログ
ラムの実行が行なわれる。
Figure 3 shows a flowchart of the system program. First, in step A, data input processing from the keyboard (KB) 5 (+) is performed using the carriage return key (
C/R key] is operated (that is, until the end of one line input is instructed).In the next step B, the data input in step A is analyzed.CPU 1 0 When executing steps A and B, it is determined whether the input data is data that specifies execution (called a command) (Stella 7''C). j, l, 3, CPU is
The above input data is stored in the program area (PA) 2.9 of the main memory 20 for the line number CC code fl']
L (step D), Stella fk for next line processing
Return to On the other hand, if the determination in Step C is YES, the CPU Z O branches to processing according to the input data, that is, the input command (Step E).
. The commands applied in this device are, for example, the main memory 20
0 Display the program list stored in the program area 23 on the CRT display 40 (Step F) Command, upper d1 Save the program list on the cassette tape recorder (CR'[') 6o (Step G) Command 9: Save the above program list to the floppy disk device (F'DD) 70 (step H) Command: Save the above program list to the printer (PR)
T) Command to print out from 3o (Step I), program area (PA) 2 J VC
Execute the stored program (steps J-M
) command (referred to as RUN command). Therefore, when the input data is a RUN command, the program stored in the program area 23 of the main memory 20 is executed by repeating steps A to D.

プログラムエリア(P A ) 2311C用:値され
たプログラムの実行手+111’l [以下の通りであ
る。址ず、プログラムエリア23の先頭アドレスがプロ
グラムポインタPPとして設定される(ステップJ)o
欠に、プログラムポインタPPがプログラムエリア23
の最終を示しているが否かの判定が行なわれる(ステラ
fK)。ステップにでの4(1足がNo判定の場合、プ
ログラムポインタPPの示すアドレス位置から始まるデ
ータ(命令、文)の実行処理が行なわれる(ステラfL
)。1つの命艙(文)が火ヤj括れると、七の命令に応
じてポインタPPは更新される。この命令には、入力装
置からのデータ入力を指定する入力命令(INPUT命
令、INPUT文)、加減乗除算を指ン〆する各命令等
がある。なお、ステップにでの判定がYES判定の場合
には、プログラム終了の処理(ステップM)が行なわれ
、1行入力処理(ステップA)にH7ll raが移さ
れる。
Program area (PA) For 2311C: Valued program execution hand + 111'l [As follows. The start address of the program area 23 is set as the program pointer PP (step J).
In short, the program pointer PP is in the program area 23.
A determination is made as to whether or not it indicates the final stage (Stella fK). Step 4 (If the judgment is No, the data (command, statement) starting from the address position indicated by the program pointer PP is executed (Stella fL
). When one life hold (text) is completed, the pointer PP is updated in accordance with the seventh command. These commands include input commands (INPUT commands, INPUT statements) that designate data input from an input device, commands that specify addition, subtraction, multiplication, division, and the like. Note that if the determination in step is YES, program termination processing (step M) is performed, and H7ll ra is transferred to one-line input processing (step A).

今、上記した一スデソプA −Dの繰返しによム第4図
に示すプログラムが、主メモリ20のプログラムエリア
(PA)2Jにラインナンノ々順に格納されたものとす
る。埋4図において、rto4.rzo」、r3o」、
r4o」。
Now, it is assumed that the program shown in FIG. 4 is stored in the program area (PA) 2J of the main memory 20 in line number order by repeating steps A to D described above. In Figure 4, rto4. rzo”, r3o”,
r4o”.

r5o、、Haミラインナンバ示す。ラインナンノ々「
10」の命令[ERASEJげCftTディスプレイ全
体をイレーズ(ブランククリア)することを指示する。
r5o,,Ha shows the millimeter line number. Line Nanno'
10'' command [ERASEJageCftT Instructs to erase (blank clear) the entire display.

ラインナンバ「20」の命令は新規な入力命令(INP
UT命令)であシ、入力すべきデータのめる性を指示す
るデータ属性指定フィルドATTR(、)を有している
。この例では、ATTR(”D”)で数字データが指定
され、ATTR(”L”)で大文字(英大文字)7″−
夕が指定される。したがって、ラインナンバ「20」の
命令r INPUT ATTR(”D’)、A、13J
l”l:数字データ八?Bの入力を指示する。また、ラ
インナンノZ「30」の命令「c=A+’Bjげ加算A
+Rを行ない、その結果をCに格納することを指示し、
ラインナンバ「40」の命令r PRINT CJは(
加算結果を格納している)Cの(iμをCRT上に表示
することを指示し、ラインナンノぐ「50」の命令r 
END Jは処理終了を指示する。
The command with line number “20” is a new input command (INP
UT command), it has a data attribute specification field ATTR (, ) that indicates the compatibility of data to be input. In this example, ATTR (“D”) specifies numeric data, and ATTR (“L”) specifies uppercase letters (uppercase English letters) 7″-
Evening is specified. Therefore, the instruction r INPUT ATTR ("D'), A, 13J with line number "20"
l"l: Instructs to input numerical data 8?B. Also, the command "c=A+'Bj ge addition A" of line number Z "30"
Instructs to perform +R and store the result in C,
The command r PRINT CJ for line number “40” is (
Instructs to display (iμ) on the CRT of C (which stores the addition result), and executes the command r of "50" on the line
END J instructs to end the process.

第4図のプログラムがプログラムエリア23にラインナ
ンバ順に格納された後、矢の1行人力処理(ステップA
〕でRUNコマンドが入力されると、当該プログラムが
前記した手1111!tで実行される。まず、ラインナ
ン・−710の命令(文)に関する文の実行処理(ステ
ラ7’L)が行なわれる。ラインナンバ10の命令(文
) fi ERASE命令(文)であり、ステラfLが
実行されることにニジCRTディスプレイ全体がイレー
ズ(ブランククリア)される。このとき、プログラムポ
インタPPが艷新される。文の実行処理(ステップL)
が終了すると、ステップにの判定処理が行なわれる。ラ
インナンバ20以降の命令が残っているこの例では、ス
テップにの判定はNo判定となる。この結果、次のライ
ンナンバ20の命令(文)、即ち入力命令(INPUT
命令)に関する文の実行処理(ステップL〕が行なわれ
る。
After the program shown in FIG.
], when the RUN command is input, the program executes the above-mentioned move 1111! It is executed at t. First, a statement execution process (Stella 7'L) regarding the command (statement) of line number -710 is performed. The command (statement) of line number 10 is fi ERASE command (statement), and when Stella fL is executed, the entire CRT display is erased (blank cleared). At this time, the program pointer PP is updated. Statement execution processing (step L)
When the process is completed, a determination process is performed in step. In this example, where instructions after line number 20 remain, the determination for the step is No. As a result, the command (statement) of the next line number 20, that is, the input command (INPUT
A statement execution process (step L) regarding the command) is performed.

文の実行処理では、第5図のフローチャートに示される
ように、甘ず冥行対尿命令(文)がINPUT命令C文
)であるか否かの判定が行なわれる(ステラ7’L1)
。この判定がN O判定の場合には、他の文の実行処理
(ステップL15)が行なわれる。前記FJRAsFi
;命令などは、このステップL15で夷行烙れる。なお
、ステップL 15の具体的な処理手順については、こ
の発明と直接関係しないため省略されている。これに対
し、ステップLlの判定がYES判定の場合には、主メ
モI)20のシステムワーキングエリア゛(、SWA 
) 22に用意されている大文字フラグ(LCF ) 
22r、および数字フラグ(NF)222をオフする処
理(ステップL2)が行なわれる。ステラ7’L2が終
了すると、INPUT文において、r INPUT J
の次に(入力データの属性を定義する識別胎である) 
r ATTRJが記述されているか否かの判定が行なわ
れる(ステップL3)。この判定がYES判定の場合に
は、次の文字(記号)「(」をスキラグしくステップL
4)、更に次の文字が16D”」であるか否かを判定す
る処理(ステップL5)が行なわれる。
In the statement execution process, as shown in the flowchart of FIG. 5, it is determined whether the Amazumi-Yo-Urine command (sentence) is an INPUT command (C-sentence) (Stella 7'L1).
. If this determination is NO, another sentence execution process (step L15) is performed. Said FJRAsFi
; Commands and the like are rejected in step L15. Note that the specific processing procedure of step L15 is omitted because it is not directly related to the present invention. On the other hand, if the determination in step Ll is YES, the main memo I) 20 system working area ゛(, SWA
) Capital letter flag (LCF) provided in 22
22r and the numeric flag (NF) 222 are turned off (step L2). When Stella 7'L2 is finished, in the INPUT statement, r INPUT J
(which is an identifier that defines the attributes of the input data)
It is determined whether or not r ATTRJ is written (step L3). If this determination is YES, the next character (symbol) "("
4), a process (step L5) is performed to determine whether the next character is 16D''.

ステップL5での判定がYES−1!lJ定の場合、即
ち数字データ指定の場合、数字フラグ(NF)222が
オンされ(ステップL6)、ステップL9に進む。また
、ステップL5での判定がNo判定、即ち判定対象文字
が「パD”」でない場合、当該文字がl−” t、”」
であるか否かの判定が行なわれる(ステップL7)。こ
の判定がYES判定の場合、即ち大文字r−タ指定の場
合、大文字フラグ(LCF ) 221がオンされ(ス
テップL8)、ステップL9に進む。一方、ステップL
7での判定がNo判定の場合には直接ステップL9に進
む。ステップL9では、データ属性の定義の終了(デー
タ縞性指定フィールドの終了〕である「)」がスキラグ
される。
The determination at step L5 is YES-1! In the case of lJ constant, that is, in the case of numerical data designation, the numerical flag (NF) 222 is turned on (step L6), and the process advances to step L9. Further, if the determination in step L5 is No, that is, the character to be determined is not "PaD", the character is l-"t,".
A determination is made as to whether this is the case (step L7). If this determination is YES, that is, if a capital letter r-ta is specified, the capital letter flag (LCF) 221 is turned on (step L8), and the process advances to step L9. On the other hand, step L
If the determination in step 7 is No, the process directly advances to step L9. In step L9, ")" which is the end of the definition of the data attribute (end of the data stripe designation field) is skipped.

続いて、次のステップL 1.0で入力命令のデリミタ
ーである「、」がスギラグされ、ステップLllに進む
。このステップLllでは、入力データを格納する主メ
モリ20(のグログラムワーキングエリア24 ) +
7i領域のアドレスが、「、」の次の文字(変数)に従
ってめられる。
Subsequently, in the next step L1.0, the delimiter "," of the input command is deleted, and the process proceeds to step Lll. In this step Lll, the main memory 20 (program working area 24) +
The address of the 7i area is determined according to the character (variable) next to ",".

なお、ステップL3でのコ14」定がNo判定のII合
、即ちデータ属性が定義されていない、場合には、直接
ステップLllの処理が行なわれる。
Note that if the determination in step L3 is No, that is, if the data attribute is not defined, the process of step Lll is directly performed.

ステラ7’L11の処理が終了すると、KR50からの
人力データを、主メモリ20のシステムワーキングエリ
ア(5XAlA ) 22に用意されたキーバッファ(
図示せず〕に取込むデータ取込み処理(ステップL12
)が行なわれるOこのデータ取込み処理でQユ、第6図
のフローチャートに示されるように、まずに、 B 5
0から1文字が人力され(ステップr、121)、!1
いて当該入力文にがキャリッジリターンコードであるか
否かの判定が行なわれる(ステップL122)。
When the processing of Stella 7'L11 is completed, the manual data from KR50 is transferred to the key buffer (key buffer) prepared in the system working area (5XAlA) 22 of the main memory 20.
(not shown)] (step L12)
) is performed. In this data import process, as shown in the flowchart of FIG. 6, first, B 5
Characters from 0 to 1 are manually input (step r, 121), ! 1
Then, it is determined whether the input sentence is a carriage return code (step L122).

この判定がNo判定の場合、数字フラグ(NF’)22
2がオンされているか否か(即ち数字データが指定され
ているか否か)の判定が行なわれる(ステップL123
)。ステップL123の判定がYES判定の場合、ステ
ップL121での入力文字が数字(0〜9)であるか否
かが判定される(ステップL124)。ステップL12
4の判定がYES判定の場合、上記入力文字を、システ
ムワーキングエリア(、SWA ) 22に用意された
キーバッファに格納する処理(ステップL125)が行
なわれ、しかる後ステラ:7’l、121に戻る。これ
に対し、ステップL124の判定がNo判定であれば、
ステップL121での人力文字は無視され、そのままス
テップL121に戻る。この例のように、ATTR(”
 D ” )が記述されたINPUT命令の場合には、
前述したように第5図のフローチャートのステップL6
で数字フラグ(NF)2.22がオンされる。したがっ
て、第6図のデータ取込み処理では、入力文字が数字の
場合だけキーバッファに格納される。一方、ステップL
123の判定がNo判定の場合、大文字フラグ(LCF
 ) 227がオン逼れているか否か(即ち、英大文字
データが指定されているか否か)の判定が行なわれ%(
ステップLl 26 )。この判定がNo判定であれば
前6Cステツ7’L125の入力データ格納処理に進み
、YES判定であれは入力文字が英小文字であるか否か
の判定ステップL127に進む。ステップL127の判
定がNo判定であれば、その1葦ステツプL125の入
力データ格納処理に進み、YES判定でおれは人力文字
を大文字化する処(U! (ステップL128)を経て
前記ステップL125に進む。
If this determination is No, the numerical flag (NF') 22
2 is turned on (that is, whether numeric data is specified or not) is determined (step L123).
). If the determination in step L123 is YES, it is determined whether the input character in step L121 is a number (0 to 9) (step L124). Step L12
If the determination in step 4 is YES, the input characters are stored in the key buffer prepared in the system working area (SWA) 22 (step L125), and then the characters are stored in Stella: 7'l, 121. return. On the other hand, if the determination in step L124 is No,
The human input characters in step L121 are ignored and the process returns to step L121. As in this example, ATTR(”
In the case of an INPUT command in which “D”) is written,
As mentioned above, step L6 in the flowchart of FIG.
The numerical flag (NF) 2.22 is turned on. Therefore, in the data import process of FIG. 6, only numeric input characters are stored in the key buffer. On the other hand, step L
If the determination of 123 is No, the uppercase flag (LCF
) 227 is on (that is, whether uppercase alphabetic character data is specified).
Step Ll 26). If the determination is No, the process proceeds to the input data storage process of the previous 6C step 7'L125, and if the determination is YES, the process proceeds to step L127 for determining whether the input character is a lowercase English letter. If the determination in step L127 is No, the process proceeds to the input data storage process of step L125, and if the determination is YES, the process proceeds to step L125 via the step L128 where I capitalize human-powered characters (U!). .

上記動作が繰返され、やがてステップL122での判定
がYgSとなると(即ちKB50のキャリッジリターン
キーがキー操作されたことが検出されると)第6図のデ
ータ取込み処理(即ち、第5図のステップL12)は終
了となり、第5図のステップL13に進む。このステッ
プL13でIr:i、、Ai5記キーバッファの内容を
、ステップLllでめておいたデータ格納先アドレスの
示すプログラムワーキングエリア(PWA ) 24内
領域に格納する処理が行なわれる。ステップL13の処
理が終了すると、次の文字(即ち、INPUT命台にお
ける変数の次の文字)が1.」であるか否か、月1jち
、まだ人力すべきものがあるか否かの判定が行なわれる
(ステップL14)。
The above operation is repeated, and when the determination at step L122 becomes YgS (that is, when it is detected that the carriage return key of KB50 has been operated), the data import process of FIG. 6 (that is, the step of FIG. 5 Step L12) ends, and the process proceeds to step L13 in FIG. In step L13, the contents of the key buffers Ir:i, . . . Ai5 are stored in the area within the program working area (PWA) 24 indicated by the data storage address set in step Lll. When the process of step L13 is completed, the next character (that is, the character next to the variable in the INPUT script) is 1. '', and whether there is anything that still needs to be done manually in the month 1j is determined (step L14).

この判定がYKS判定であれば前記ステップLLl〜L
14が再び実行ちれ、No判定でろれは第5図の文の実
行処理(即ち、第4図のステップL)は終了となる。
If this determination is a YKS determination, the steps LLl to L
14 is executed again, and if the judgment is No, the execution processing of the statement in FIG. 5 (ie, step L in FIG. 4) is completed.

文の実行処理(ステップL)が終了すると、前記したよ
うにステップにの判だ処理が行なわれる。ステップにの
判定がN Oill 7であれは、再びステップL、K
が実行される。こ!しに対しステップにの判定がYES
判定であれば、グログラム終了の処理(ステップM)が
行なわれ、1行人力処理(ステラfk)に制御が移され
る。
When the sentence execution process (step L) is completed, the step is determined as described above. If the judgment for the step is N Oil 7, go to steps L and K again.
is executed. child! On the other hand, the decision to step is YES.
If the determination is positive, a program termination process (step M) is performed, and control is transferred to one-line manual processing (stellar fk).

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

以上詳述したようにこの発明によれば、入力データのプ
ログラムとの整合性チェックが、チェック用の特別の命
令を用意することなく行なえる。このため、人力装置か
らの入カグログラム孫語で作成される、入力命令を含む
プログラムの實j略化が図れる。捷だ、この発明によれ
は、上記塑合性チェックがデータ入力時に行なわれるた
め、入力ミスかがこ少する。
As described in detail above, according to the present invention, the consistency check of input data with a program can be performed without preparing a special instruction for checking. Therefore, it is possible to simplify a program including input commands, which is created in the form of an input computer program from a human-powered device. Unfortunately, according to this invention, the above-mentioned plasticity check is performed at the time of data input, which reduces the possibility of input errors.

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

第1図にこの発明の一実施例に係る1′6゛報処理装置
〆の枯J戎を示すブロック図、第2図は第1図に示すシ
ステムワーキングエリアに置かれるフラグを示す図、第
3図は!動作を説明するためのフローチャート、第4図
は入力プログラムの一例を示す図、ηき、5図は第3図
に示す文の実行処理ステップの詳細な手1ii4を示す
フローチャート、第6図に第5図に示すデータ取込み処
理ステップの詳イ111 fx手1献を示すフローチャ
ートである。 10・・CPU、2θ・・主メモリ、2Z・・・システ
ムグログラムエリア(SPA )、22・・・システム
ワーキングエリア(SWk)、23・・プログラムエリ
ア(PA)、24・・・グログラムワーキングエリア(
PWA )、50・・・キーボード(K R)、221
・・大文字フラグ(LCF’ )、222・・数字フラ
グ(NF’)。 出願人代理人 弁理士 詐 江 武 彦第1図 第2い 第3図 第4図 第5図 出口 第6図
FIG. 1 is a block diagram showing the implementation of a 1'6'' information processing device according to an embodiment of the present invention, FIG. 2 is a diagram showing flags placed in the system working area shown in FIG. 1, and FIG. Figure 3 is! FIG. 4 is a flowchart for explaining the operation, FIG. 4 is a diagram showing an example of an input program, FIG. 5 is a flowchart showing details of the data import processing steps shown in FIG. 5. FIG. 10... CPU, 2θ... Main memory, 2Z... System program area (SPA), 22... System working area (SWk), 23... Program area (PA), 24... Program working area area(
PWA), 50...Keyboard (KR), 221
...Capital letter flag (LCF'), 222...Numeric flag (NF'). Applicant's Representative Patent Attorney Takehiko Naso Figure 1 Figure 2 Figure 3 Figure 4 Figure 5 Exit Figure 6

Claims (1)

【特許請求の範囲】[Claims] 人力グログラム官語をラインカンパ順に記隠しておき、
当該プログラム言語で作成されたプログラムを必要に応
じて実行する情報処理装■Wにおいて、各種データ属性
を示すデータ属性フラグと、入力すべきブ′−夕の属性
を指定するデータ属性指定フィールドを有し、データ入
力を指定する人力命令を言むプログラム西語を入力する
プログラム中’ 8f大入力段と、上す已入力命令の実
行に1県し、当該誼令中の上記データ属性指定フィール
ドの同容に応じて該当する上記データ属性フラグをオン
するフラグオン手段と、各柚データを人力する人力手段
と、このデータ人力手段から上記入力翁倫に促って入力
はれるデータの属性が、上記フラグオン手段によってオ
ンちれている上記データ属性フラグの示す属性に一致す
るか否かを検出し、この検出結果に応じて入力データの
取込みを行なうデータ取込み手段とを具備することを特
徴とする情報処理装置。
Write down and hide the human power grammatical language in the order of line numbers,
The information processing device (W) that executes programs written in the programming language as needed has data attribute flags indicating various data attributes and a data attribute specification field that specifies the attributes of the printer to be input. Then, in the program that inputs the manual command that specifies data input, there is an 8f large input stage, and one prefecture is used to execute the upper input command, and the above data attribute specification field in the command is A flag-on means for turning on the corresponding data attribute flag according to the same content, a human-powered means for manually inputting each Yuzu data, and a human-powered means for manually inputting the above-mentioned data attributes by prompting the above-mentioned input Oirin. Information characterized by comprising: data importing means for detecting whether or not the attribute indicated by the data attribute flag turned on by the flag-on means matches the attribute indicated by the data attribute flag, and importing input data according to the detection result. Processing equipment.
JP59035932A 1984-02-29 1984-02-29 Information processor Pending JPS60181835A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59035932A JPS60181835A (en) 1984-02-29 1984-02-29 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59035932A JPS60181835A (en) 1984-02-29 1984-02-29 Information processor

Publications (1)

Publication Number Publication Date
JPS60181835A true JPS60181835A (en) 1985-09-17

Family

ID=12455797

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59035932A Pending JPS60181835A (en) 1984-02-29 1984-02-29 Information processor

Country Status (1)

Country Link
JP (1) JPS60181835A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008176942A (en) * 2007-01-16 2008-07-31 Japan Ae Power Systems Corp Gas-insulated switch

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008176942A (en) * 2007-01-16 2008-07-31 Japan Ae Power Systems Corp Gas-insulated switch

Similar Documents

Publication Publication Date Title
JPS6290762A (en) Documentation device
JPS60181835A (en) Information processor
JPS59132029A (en) Kana-kanji converting device
JP2757367B2 (en) Character processor
JPH01307865A (en) Character string retrieving system
JP2786260B2 (en) Kana-Kanji conversion device
JP3036005B2 (en) Kana-Kanji conversion device
JP2000276479A (en) Electronic dictionary device and recording medium for recording electronic dictionary program
JPH0572270B2 (en)
JP3809238B2 (en) Document processing method and apparatus
JPH04190450A (en) Document processor
JPH04158470A (en) Document preparing device
JPH01261775A (en) Method for registering document for document editer
JPH11195022A (en) Character processor, method for character processing and record medium
JPH096772A (en) Character processor
JPH0528143A (en) Word processor
JPS6366663A (en) Control system for document structure
JPS6257055A (en) Japanese word processor
JPH01306913A (en) Information processor
JPH0296231A (en) Edition support method
JPH08194701A (en) Character processor
JPH0793303A (en) Document creation device and character modification control method
JPH08292953A (en) Document processor
JPH01215574A (en) Word processor
JPH06266715A (en) Document editing device