defaults prompting_level
The DEFAULTS PROMPTING_LEVEL command is used to set the amount of prompting the parser does, and whether it echoes defaults.
Format:
defaults prompting_level |
|---|
level = | prompting_level |
echo_defaults = | on/off |
wildcard_messages = | wldchar_msgs |
Example:
defaults prompting_level & |
|---|
level = | required_only & |
echo_defaults = | on & |
wildcard_messages = | all |
Description:
Parameter | Value Type | Description |
|---|
level | Prompting_level | Specifies which command parameters Adams View will prompt for when you give only the keywords for a command. |
echo_default | On_off | The ECHO_DEFAULTS parameter controls whether Adams View echoes the default parameter values it assumes for a command. |
wildcard_messages | Wldcrd_msgs | The WILDCARD_MESSGES parameter controls the severity of messages output when using wildcards on FOR commands. |
Extended Definition:
1. The LEVEL parameter is used to specify which of the command parameters the parser will prompt for when only the keywords for a command is given. If one or more parameter is specified when the command is entered, the parser will prompt for required parameters only, regardless of what the prompting level is set at.
2. The default for LEVEL is REQUIRED, which means that if only keywords are entered (no parameters), then only the required parameters are prompted for. If FULL is specified, then all parameters will be prompted for when only keywords are entered before the carriage return. If DEFAULT_ONLY is specified then the required parameters and parameters which have default values will be prompted for when only keywords are entered before the carriage return.
3. The ECHO_DEFAULTS parameter controls whether Adams View echoes the default parameter values it assumes for a command. The default is OFF. If you set it ON, Adams View will list any assumed defaults after you enter each command.
4. If you enter one or more parameter with the command, Adams View will prompt for required parameters only. The default is REQUIRED, which means that if you enter only keywords (no parameters), then Adams View prompts you for the required parameters only. If you specify FULL, Adams View will prompt for all parameters. If you specify DEFAULT_ONLY, Adams View will prompt for the required parameters and parameters which have default values.
5. For the echo_default parameter, the default is OFF. If you set it toON, Adams View will list any assumed defaults after you enter each command.
6. The default for wildcard_messages is ALL, which causes all messages generated by the use of wildcards to be output. If you set it to ERRORS_ONLY, only error messages will be output. NONE will suppress all messages generated by wildcards on FOR commands.