HP 3000 Manuals

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


System Debug Reference Manual

func strapp 

String append.  Returns the result of concatenating two strings.

Syntax 

     strapp (source tail)

Formal Declaration 

     strapp:str (source:str tail:str)

Parameters 

 source          The string to which tail is appended.

 tail            The string to append to the tail of source.

Examples 

     $nmdebug > var stuff "Cream" 
     $nmdebug > wl strapp("Ice ", stuff) 
     Ice Cream

Append the string contained in the variable stuff to the string "Ice".

     $nmdebug > = strapp("Hello, ", strapp("How", " Are You?") ) 
     "Hello, How Are You?"

Print the result of concatenating the string literals.

Limitations, Restrictions 

If the resultant string is larger than the maximum supported string
length (see the STRMAX function), it is truncated.



MPE/iX 5.0 Documentation