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

func strapp

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

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.

Feedback to webmaster