HP 3000 Manuals

<NOYES> [ HP DeskManager Customization ] MPE/iX 5.0 Documentation


HP DeskManager Customization

<NOYES> 

Syntax 

<NOYES [string] >

where:

string                quoted string or unquoted string

Description 

<NOYES> returns 1 (TRUE) if string contains the word "YES" in some form,
for example "yes", "y", "ye" or "Y".  If string contains characters that
do not map onto the word "YES", is null, or is not provided, then the
function returns 0 (FALSE).

See also:  <YESNO>.

Example 

     &EXIT <NOYES <PROMPT "Press 'Y' to exit " "" 1>>

This will exit the script if the answer to the prompt is a form of "YES".



MPE/iX 5.0 Documentation