JPH01258116A - System for setting determined value of command parameter - Google Patents

System for setting determined value of command parameter

Info

Publication number
JPH01258116A
JPH01258116A JP63086380A JP8638088A JPH01258116A JP H01258116 A JPH01258116 A JP H01258116A JP 63086380 A JP63086380 A JP 63086380A JP 8638088 A JP8638088 A JP 8638088A JP H01258116 A JPH01258116 A JP H01258116A
Authority
JP
Japan
Prior art keywords
command
parameter
default value
input
storage means
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
JP63086380A
Other languages
Japanese (ja)
Inventor
Koichiro Sugawara
浩一郎 菅原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP63086380A priority Critical patent/JPH01258116A/en
Publication of JPH01258116A publication Critical patent/JPH01258116A/en
Pending legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

PURPOSE:To simplify a command input operation by registering the value of the parameter of a command with high activity frequency as a determined value on a normal value file, and accomplishing an input command sequence based on the content of the determined value file. CONSTITUTION:The output of a parameter determined value input means 1 is stored in the determined value file 11 as the record of the determined value information of the parameter by a parameter determined value registration means 2. The record of the determined value information of a corresponding parameter is read out based on the command name of an input command sequence storage means 8 by a parameter readout means 5, and it is stored in a parameter determined value storage means 9. And command sequence is accomplished by complementing the parameter for which no command sequence is not designated in the input command sequence storage means 8 based on the content of the parameter normal value storage means 9, then, it is stored in the command sequence storage means 8. Therefore, it is not required to input the normal value of the parameter at every input of the command to be command with high activity frequency. In such a way, the command input operation can be simplified.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、パラメータを有するコマンドを用いてコンビ
エータを操作する処理系における入力されるコマンドの
パラメータで省略されたときにとられるコマンドパラメ
ータ既定値設定方式に利用する。特に、使用者によりあ
らかじめパラメータの既定値を設定し、コマンド入力時
に使用者既定値を有効とする方式に関するものである。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention provides a command parameter default value that is taken when a parameter is omitted in an input command in a processing system that operates a combiator using a command having parameters. Used for setting method. In particular, the present invention relates to a method in which default values of parameters are set in advance by the user, and the user default values are validated when a command is input.

〔概要〕〔overview〕

本発明はコマンドパラメータ既定値設定方式において、 使用頻度の高いコマンドのパラメータの値を既定値とし
て既定値ファイルに登録し、この既定値ファイルの内容
に基づいて入力コマンド列を完成することにより、 使用頻度の高いコマンドに対してコマンドを入力するご
とにそのパラメータの既定値を入力する必要がなく、コ
マンド入力操作を簡単にしたものである。
In the command parameter default value setting method, the present invention registers the parameter values of frequently used commands as default values in a default value file, and completes the input command string based on the contents of this default value file, thereby allowing easy use. This simplifies command input operations by eliminating the need to input default values for parameters each time a command is input with high frequency.

〔従来の技術〕[Conventional technology]

従来、コマンドパラメータ既定値設定方式は、パラメー
タを有するコマンドを用いてコンピュータを操作する処
理系に入力されるコマンドのパラメータが省略された場
合に、コマンドの処理系であらかじめ決められた既定値
がとられるのみであり、使用者により任意に既定値の変
更は行えない方式となっていた。
Conventionally, command parameter default value setting methods have been used to set default values predetermined by the command processing system when a parameter is omitted from a command that is input to a processing system that operates a computer using a command that has parameters. The default value cannot be changed arbitrarily by the user.

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

しかし、このような従来のコマンドパラメータ既定値設
定方式では、パラメータを有するコマンドを用いてコン
ピュータを操作する処理系に入力されるコマンドのパラ
メータが省略された場合に、コマンドの処理系であらか
じめ決められた既定値がとられるのみであり、使用者が
コマンドの処理系であらかじめ決められた既定値以外の
値をパラメータに指定する場合には、そのコマンドの使
用頻度が高くても毎回該当するパラメータを入力しなけ
ればならない欠点がある。
However, with such conventional command parameter default value setting methods, if a parameter is omitted from a command that is input to a processing system that operates a computer using a command with parameters, If the user specifies a value other than the default value predetermined by the command processing system for a parameter, the corresponding parameter will be used every time, even if the command is used frequently. There is a drawback that you have to enter it.

本発明は上記の欠点を解決するもので、使用頻度の高い
コマンドに対して毎回コマンドを入力するごとにそのパ
ラメータの既定値を入力する必要がなく、コマンド入力
操作が簡単なコマンドパラメータ既定値設定方式を提供
することを目的とする。
The present invention solves the above-mentioned drawbacks, and allows for easy command parameter default value setting, which eliminates the need to input default values for frequently used commands each time the command is input. The purpose is to provide a method.

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

本発明は、コマンド列を入力するコマンド入力手段と、
入力コマンド列格納手段と、上記コマンド入力手段の出
力を識別し識別したコマンドおよびそのパラメータをこ
の入力コマンド列格納手段に格納するコマンド列識別手
段と、使用者の操作によりコマンド名およびそのパラメ
ータの既定値を入力するパラメータ既定値入力手段とを
備えたコマンドパラメータ既定値設定方式において、既
定値ファイルと、上記パラメータ既定値入力手段の出力
をパラメータの既定値情報のレコードとしてこの既定値
ファイルに格納するパラメータ既定値登録手段と、パラ
メータ既定値格納手段と、上記入力コマンド列格納手段
のコマンド名に基づいて上記既定値ファイルの内容を読
出してこのパラメータ既定値格納手段に格納するパラメ
ータ読出手段と、完成コマンド列格納手段と、上記パラ
メータ既定値格納手段の内容に基づいて上記入力コマン
ド列格納手段のコマンド列の指定されていないパラメー
タを補ってこの完成コマンド列格納手段に格納するコマ
ンド列完成手段とを備えたことを特徴とする。
The present invention includes a command input means for inputting a command string;
input command string storage means; command string identification means for identifying the output of the command input means and storing the identified command and its parameters in the input command string storage means; In a command parameter default value setting method comprising a parameter default value input means for inputting a value, a default value file and the output of the parameter default value input means are stored in this default value file as a record of parameter default value information. A parameter default value registration means, a parameter default value storage means, a parameter reading means for reading the contents of the default value file based on the command name of the input command string storage means and storing it in the parameter default value storage means, completed. a command string storage means; and a command string completion means for supplementing unspecified parameters of the command string in the input command string storage means based on the contents of the parameter default value storage means and storing them in the completed command string storage means. It is characterized by being equipped.

〔作用〕[Effect]

パラメータ既定値登録手段でパラメータ既定値入力手段
の出力をパラメータの既定値情報のレコードとしてこの
既定値ファイルに格納する。パラメータ読出手段で入力
コマンド列格納手段のコマンド名に基づいて該当するパ
ラメータの既定値情報のレコードを読出してパラメータ
既定値格納手段に格納する。コマンド列完成手段でパラ
メータ既定格納手段の内容に基づいて入力コマンド列格
納手段のコマンド列の指定されていないパラメータを補
ってそのコマンド列を完成しコマンド列格納手段に格納
する。以上の動作により使用頻度の高いコマンドに対し
てコマンドを入力するごとにそのパラメータの既定値を
入力する必要がなく、コマンド入力操作を簡単にするこ
とができる。
The parameter default value registration means stores the output of the parameter default value input means in this default value file as a record of parameter default value information. The parameter reading means reads a record of default value information of the corresponding parameter based on the command name of the input command string storage means and stores it in the parameter default value storage means. The command string completion means completes the command string by supplementing unspecified parameters in the command string of the input command string storage means based on the contents of the parameter default storage means, and stores the command string in the command string storage means. With the above-described operation, it is not necessary to input default values of parameters for frequently used commands each time a command is input, and the command input operation can be simplified.

〔実施例〕〔Example〕

本発明の実施例について図面を参照して説明する。第1
図は本発明一実施例コマンドパラメータ既定値設定装置
のブロック構成図である。第1図において、コマンドパ
ラメータ既定値設定装置は、コマンド列を入力するコマ
ンド入力手段3と、入力コマンド列格納手段8と、上記
コマンド入力手段3の出力を識別し識別したコマンドお
よびそのパラメータをこの入力コマンド列格納手段8に
格納するコマンド列識別手段4と、使用者の操作により
コマンド名およびそのパラメータの既定値を入力するパ
ラメータ既定値入力手段1とを備える。
Embodiments of the present invention will be described with reference to the drawings. 1st
The figure is a block diagram of a command parameter default value setting device according to an embodiment of the present invention. In FIG. 1, the command parameter default value setting device includes a command input means 3 for inputting a command string, an input command string storage means 8, and an output of the command input means 3, and identifies the identified command and its parameters. It comprises a command string identifying means 4 which is stored in an input command string storing means 8, and a parameter default value inputting means 1 which inputs a command name and a default value of its parameter by a user's operation.

ここで本発明の特徴とするところは、既定値ファイル1
1と、パラメータ既定値入力手段lの制御信号に従って
その出力をパラメータの既定値情報のレコードとしてこ
の既定値ファイルに格納するパラメータ既定値登録手段
2と、パラメータ既定値格納手段9と、入力コマンド識
別手段4の制御信号に従って入力コマンド列格納手段8
のコマンド名に基づいて既定値ファイル11の内容を読
出してパラメータ既定値格納手段9に格納するパラメー
タ読出手段5と、完成コマンド列格納手段10と、パラ
メータ読出手段50制御信号に従って完成パラメータ既
定値格納手段9の内容に基づいて入力コマンド列格納手
段8のコマンド列の指定されていないパラメータを補っ
てこの完成コマンド列格納手段10に格納するコマンド
列完成手段6と、コマンド列完成手段6の制御信号に従
って完成コマンド列格納手段10の内容の処理を行うコ
マンド処理手段7とを備えたことにある。
Here, the feature of the present invention is that the default value file 1
1, parameter default value registration means 2 for storing the output as a record of parameter default value information in this default value file according to the control signal of the parameter default value input means 1, parameter default value storage means 9, and input command identification means. Input command string storage means 8 according to the control signal of means 4
A parameter reading means 5 reads the contents of the default value file 11 based on the command name and stores it in the parameter default value storage means 9, a completed command string storage means 10, and a parameter reading means 50 stores the completed parameter default values in accordance with the control signal. A command string completion means 6 that supplements unspecified parameters of the command string in the input command string storage means 8 based on the contents of the means 9 and stores the completed command string storage means 10, and a control signal for the command string completion means 6. A command processing means 7 is provided for processing the contents of the completed command string storage means 10 according to the following.

このような構成のコマンドパラメータ既定値設定装置の
動作について説明する。
The operation of the command parameter default value setting device having such a configuration will be explained.

第2図は本発明のコマンドパラメータ既定値設定装置の
パラメータ既定値登録手段の動作を示すフローチャート
である。
FIG. 2 is a flowchart showing the operation of the parameter default value registration means of the command parameter default value setting device of the present invention.

第3図は本発明のコマンドパラメータ既定値設定装置の
パラメータ既定値入力手段に入力するパラメータ既定値
のフォーマットである。第3図にふいて、コマンド名は
コマンドを識別するキーワード、nは定位置パラメータ
の順位番号(1,2、)、値はパラメータの既定値とな
るべき値、キーワードはキーワードパラメータを識別す
るキーワード、“Δ″印は空白文字、“〔〕”印はあっ
てもなくてもよい記述単位および“・・・”印は直前の
記述単位がいくつあっても良いことを示す。
FIG. 3 shows the format of parameter default values input to the parameter default value input means of the command parameter default value setting device of the present invention. In Figure 3, the command name is a keyword that identifies the command, n is the positional parameter rank number (1, 2,), value is the value that should be the default value of the parameter, and keyword is the keyword that identifies the keyword parameter. , "Δ" mark indicates a blank character, "[]" mark indicates a description unit that may or may not exist, and "..." mark indicates that there may be any number of immediately preceding description units.

第4図は本発明のコマンドパラメータ既定値設定装置の
既定値ファイルに登録されるパラメータの既定値情報の
レコードを示す図であ。第4図において、コード1はコ
マンド識別レコード、コード2は定位置パラメータ識別
レコード、コード3はキーワードパラメータ識別レコー
ド、コード4はレコードの最後およびnは定位置順位番
号を示す。
FIG. 4 is a diagram showing a record of parameter default value information registered in a default value file of the command parameter default value setting device of the present invention. In FIG. 4, code 1 is a command identification record, code 2 is a positional parameter identification record, code 3 is a keyword parameter identification record, code 4 is the end of the record, and n is a positional rank number.

第5図は本発明のコマンドパラメータ既定値設定装置の
入力コマンド列格納手段およびパラメータ既定値格納手
段の構成を示す図である。第5図に示すコード1〜4お
よびnは第4図と同じである。
FIG. 5 is a diagram showing the configuration of the input command string storage means and the parameter default value storage means of the command parameter default value setting device of the present invention. Codes 1 to 4 and n shown in FIG. 5 are the same as in FIG.

第2図において、パラメータの既定値の設定では、パラ
メータ既定値入力手段1により第3図に示すパラメータ
の既定値の表現形式で表現された使用者によるパラメー
タの既定値の文字列を入力し、パラメータ既定値登録手
段2により第4図に示すパラメータ既定値情報のレコー
ドを作成し既定値ファイル11に出力する。
In FIG. 2, in setting the default value of the parameter, the user inputs a character string of the default value of the parameter expressed in the expression format of the default value of the parameter shown in FIG. 3 using the parameter default value input means 1, The parameter default value registration means 2 creates a record of parameter default value information shown in FIG. 4 and outputs it to the default value file 11.

パラメータ既定値登録手段2ではステップS1で入力さ
れたパラメータの既定値の文字列からコマンド名を読出
し、コマンド名レコードを作成する。
The parameter default value registration means 2 reads the command name from the character string of the parameter default value input in step S1, and creates a command name record.

ステップS2でコマンド名に続くパラメータの既定値情
報を一つずつ読出し、各々入力終了となるまでステップ
S5、S6により定位置パラメータ既定値情報か、また
はキーワードパラメータ既定値情報かを調べ、定位置パ
ラメータであればステップS7により定位置パラメータ
レコードをセットし、キーワードパラメータであればス
テップS8によりキーワードパラメータレコードをセッ
トすることを繰り返す。
In step S2, the default value information of the parameters following the command name is read out one by one, and until each input is completed, it is checked whether it is positional parameter default value information or keyword parameter default value information in steps S5 and S6, and the positional parameter If so, a fixed position parameter record is set in step S7, and if it is a keyword parameter, a keyword parameter record is set in step S8, which is repeated.

ステップS3により入力終了となれば、ステップS4に
より作成した一連のコマンドの既定値レコードを既定値
ファイル11へ出力し、パラメータの既定値登録処理を
終了する。
When the input is completed in step S3, the default value record of the series of commands created in step S4 is output to the default value file 11, and the parameter default value registration process is completed.

次に実際にコマンド入力手段3によりコマンド列が入力
されると、コマンド列識別手段4により第5図に示す入
力コマンドおよびパラメータ情報を格納する入力コマン
ド列格納手段8に入力コマンドおよびパラメータ情報を
格納し、既定値ファ□イル11からのパラメータ読出手
段5を起動する。
Next, when a command string is actually input by the command input means 3, the command string identification means 4 stores the input command and parameter information in the input command string storage means 8 shown in FIG. Then, the parameter reading means 5 from the default value file 11 is activated.

パラメータ読出手段5では入力コマンド列格納手段8か
らコマンド名を参照し既定値ファイル11から該当する
パラメータの既定値情報の一連のレコードを読出し、パ
ラメータ既定値格納手段9に格納する。続いてコマンド
列完成手段6により入力コマンド列格納手段8からコマ
ンド名およびパラメータ情報を読出し、この読出したパ
ラメータ以外の定位置パラメータ右よびキーワードバラ
メークの列をパラメータ既定値格納手段9から読出し、
完成コマンド列格納手段10にコマンド列の形式で格納
し、コマンド処理手段7に完成コマンド列格納手段10
のコマンド列を渡す。
The parameter reading means 5 refers to the command name from the input command string storage means 8, reads out a series of records of default value information for the corresponding parameter from the default value file 11, and stores them in the parameter default value storage means 9. Subsequently, the command string completion means 6 reads the command name and parameter information from the input command string storage means 8, reads out the positional parameter right and keyword parameter make columns other than the read parameters from the parameter default value storage means 9,
It is stored in the completed command string storage means 10 in the form of a command string, and the completed command string storage means 10 is stored in the command processing means 7.
Pass the command string.

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

以上説明したように、本発明は、コマンド入力時にパラ
メータの既定値を入力する必要がなくなり、コマンド入
力操作を容易にするだけでなく、コマンドパラメータ入
力時の打鍵誤りも防止できる優れた効果がある。
As explained above, the present invention eliminates the need to input default values for parameters when inputting commands, and has the excellent effect of not only facilitating command input operations but also preventing keystroke errors when inputting command parameters. .

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

第1図は本発明一実施例コマンドパラメータ既定値設定
装置のブロック構成図。 第2図は本発明のコマンドパラメータ既定値設定装置の
パラメータ既定値登録手段の動作を示すフローチャート
。 第3図は本発明のコマンドパラメータ既定値設定装置の
パラメータ既定値入力手段に入力するパラメータ既定値
のフォーマット。 第4図は本発明のコマンドパラメータ既定値設定装置の
既定値ファイルに登録されるパラメータの既定値情報の
レコードを示す図。 第5図は本発明のコマンドパラメータ既定値設定装置の
入力コマンド列格納手段およびパラメータ既定値格納手
段の構成を示す図。 1・・・パラメータ既定値入力手段、2・・・パラメー
タ既定値登録手段、3・・・コマンド入力手段、4・・
・入力コマンド列識別手段、5・・・パラメータ読出手
段、6・・・コマンド列完成手段、7・・・コマンド処
理手段、8・・・入力コマンド列格納手段、9・・・パ
ラメータ既定値格納手段、10・・・完成コマンド列格
納手段、11・・・既定値ファイル。 代理人  弁理士 井 出 直 孝  M 2 口
FIG. 1 is a block diagram of a command parameter default value setting device according to an embodiment of the present invention. FIG. 2 is a flowchart showing the operation of the parameter default value registration means of the command parameter default value setting device of the present invention. FIG. 3 shows the format of parameter default values input into the parameter default value input means of the command parameter default value setting device of the present invention. FIG. 4 is a diagram showing a record of parameter default value information registered in a default value file of the command parameter default value setting device of the present invention. FIG. 5 is a diagram showing the configuration of input command string storage means and parameter default value storage means of the command parameter default value setting device of the present invention. 1... Parameter default value input means, 2... Parameter default value registration means, 3... Command input means, 4...
- Input command string identification means, 5... Parameter reading means, 6... Command string completion means, 7... Command processing means, 8... Input command string storage means, 9... Parameter default value storage Means, 10... Completed command string storage means, 11... Default value file. Agent Patent Attorney Naotaka Ide M 2 mouths

Claims (1)

【特許請求の範囲】 1、コマンド列を入力するコマンド入力手段(3)と、
入力コマンド列格納手段(8)と、上記コマンド入力手
段の出力を識別し識別したコマンドおよびそのパラメー
タをこの入力コマンド列格納手段に格納するコマンド列
識別手段(4)と、使用者の操作によりコマンド名およ
びそのパラメータの既定値を入力するパラメータ既定値
入力手段(1)とを備えたコマンドパラメータ既定値設
定方式において、 既定値ファイル(11)と、 上記パラメータ既定値入力手段の出力をパラメータの既
定値情報のレコードとしてこの既定値ファイルに格納す
るパラメータ既定値登録手段(2)パラメータ既定値格
納手段(9)と、 上記入力コマンド列格納手段のコマンド名に基づいて上
記既定値ファイルの内容を読出してこのパラメータ既定
値格納手段に格納するパラメータ読出手段(5)と、 完成コマンド列格納手段(10)と、 上記パラメータ既定値格納手段の内容に基づいて上記入
力コマンド列格納手段のコマンド列の指定されていない
パラメータを補ってこの完成コマンド列格納手段に格納
するコマンド列完成手段(6)とを備えた ことを特徴とするコマンドパラメータ既定値設定方式。
[Claims] 1. Command input means (3) for inputting a command string;
an input command sequence storage means (8); a command sequence identification means (4) for identifying the output of the command input means and storing the identified command and its parameters in the input command sequence storage means; In a command parameter default value setting method comprising a parameter default value input means (1) for inputting a name and a default value of the parameter, a default value file (11) and the output of the parameter default value input means are used as parameter default values. A parameter default value registration means (2) to be stored in this default value file as a record of value information, a parameter default value storage means (9), and a parameter default value storage means (9) that reads the contents of the above default value file based on the command name of the input command string storage means. parameter reading means (5) to be stored in the parameter default value storage means of the lever; completed command string storage means (10); and designation of a command string in the input command string storage means based on the contents of the parameter default value storage means. A command parameter default value setting method comprising a command string completion means (6) for compensating for parameters that have not been completed and storing them in the completed command string storage means.
JP63086380A 1988-04-08 1988-04-08 System for setting determined value of command parameter Pending JPH01258116A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63086380A JPH01258116A (en) 1988-04-08 1988-04-08 System for setting determined value of command parameter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63086380A JPH01258116A (en) 1988-04-08 1988-04-08 System for setting determined value of command parameter

Publications (1)

Publication Number Publication Date
JPH01258116A true JPH01258116A (en) 1989-10-16

Family

ID=13885268

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63086380A Pending JPH01258116A (en) 1988-04-08 1988-04-08 System for setting determined value of command parameter

Country Status (1)

Country Link
JP (1) JPH01258116A (en)

Similar Documents

Publication Publication Date Title
JPH01258116A (en) System for setting determined value of command parameter
JP2731047B2 (en) Program operand check method
JPH05225218A (en) Stocktaking system
JP2520934B2 (en) Data processing device
JP2590281B2 (en) Procedure Definition Screen Display Processing Method in Interactive Program Creation System
JP2670276B2 (en) Character reader
JPS6238729B2 (en)
JPH03248223A (en) Slip printing system
JP3318754B2 (en) File update processor
JPH03224033A (en) Program changing device
JPH0683681A (en) Data corrector
JPH04168519A (en) File updating system
JPS6344240A (en) Program processing control system
JPH02231678A (en) Image data input device
JPS588010B2 (en) Program creation device
JPH03225448A (en) Converting, outputting, and updating method for information in file
JPS60252941A (en) Input processing system for registered data
JPS63121943A (en) Character data storage record processing system
JPS63269221A (en) Picture control system
JPS63282846A (en) Source program holding format converter
JPH1091491A (en) File change system
JPH01128120A (en) Character data input system
JPH0573390A (en) Deadlock handling process system for data base
JPH06223123A (en) Drawing control method
JPH05233499A (en) Computer system