Measure Reference Manual
SETPROMPT
The SETPROMPT command is similar to the TACL SETPROMPT command. SETPROMPT lets you
redefine the MEASCOM input prompt to include environmental information, such as the current
assumed object or the current log file. For more information on the TACL SETPROMPT command,
see the TACL Reference Manual.
Syntax
SETPROMPT { ASSUME }
{ COMMENTS }
{ LOG }
{ NONE }
{ OUT }
{ SYSTEM }
{ SWAPVOL }
{ VOLUME }
{ WARNINGS }
ASSUME
displays the current assumed object.
COMMENTS
displays either DISPLAY ALL or SUPPRESS ALL, whichever is currently active for the COMMENTS
command. To determine which comments are individually displayed or suppressed, use the
ENV command.
LOG
displays the current log file.
NONE
displays the standard MEASCOM prompt (the line number and a plus sign). The default is
NONE.
OUT
displays the current output file.
SYSTEM
displays the current system name.
SWAPVOL
displays the current swap volume.
VOLUME
displays the current volume and subvolume name.
WARNINGS
displays either DISPLAY ALL or SUPPRESS ALL, whichever is currently active for the WARNINGS
command. To determine which warnings are individually displayed or suppressed, use the
ENV command.
Usage Notes
• If you set the MEASCOM prompt to a parameter that is currently inactive, no information
appears in the prompt. For example, if you set the prompt to LOG while logging is not in
effect, the prompt does not display a log file name. However, when logging starts, the prompt
changes to the current log file name.
• The prompt reverts to the default setting (NONE) when you exit Measure.
Examples
• To set the MEASCOM prompt to display the current volume name:
116 MEASCOM Commands