HP 3000 Manuals

func strup [ System Debug Reference Manual ] MPE/iX 5.0 Documentation


System Debug Reference Manual

func strup 

String upshift.  Returns a string which is the result of upshifting all
alphabetic characters in the source string.

Syntax 

     strup (source)

Formal Declaration 

     strup:str (source:str)

Parameters 

 source          The string whose alphabetic characters are to be
                 upshifted.

Examples 

     $nmdebug > var cows "brindle and bessie.  jenny and boss." 
     $nmdebug > wl strup(cows) 
     BRINDLE AND BESSIE.  JENNY AND BOSS.

Upshift the string variable and display the results.

     $nmdebug > if strup(strinput("continue? ")) = "N" then abort 

Prompt the user to continue and if the response is N or n then abort.

Limitations, Restrictions 

none



MPE/iX 5.0 Documentation