Below is a standard prompt which also does some checking on the value
input. I'm trying to figure out a way to use this command and also have
it check if the user just presses the enter-key (which is a valid
option). I can't figure out how to do this. Anyone out there have a
suggestion? It works for any of the 4 values in the POS statement with
the exception of a blank (pressing the enter-key) with nothing else
entered.
I would greatly appreciate any help; and thanks in advance.
Larry B.
%prompt string _tapec = "Enter Cycle type: (PART, FULL, MEND, or AVAL):
" ;&
check = pos(ups(_tapec),'PART FULL MEND AVAL ') > 0 ;&
checkerror = Invalid tape cycle name; try again or <ctrl-y> to exit "
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *