HPlogo System Debug Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 8 System Debug Standard Functions

func strdown

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

String downshift. Returns a string that is the result of downshifting all alphabetic characters in the source string.

Syntax

   strdown (source)  

Formal Declaration

   strdown:str (source:str) 

Parameters

source

The string for which to downshift all alphabetic characters.

Examples

   $nmdebug > var list '"CHRIS" "WICKY" "PAT" "HOFMANN" "HELMUT"'

   $nmdebug > foreach j list wl strdown (j)

   chris

   wicky

   pat

   hofmann

   helmut

Downshift and print each name in the string variable list.

   $nmdebug > if strdown(strinput("continue? ")) = "n" then abort

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

Limitations, Restrictions

none

Feedback to webmaster