HP 3000 Manuals

RPT$ [ HP Business BASIC/XL Reference Manual ] MPE/iX 5.0 Documentation


HP Business BASIC/XL Reference Manual

RPT$ 

The RPT$ function returns a string that results from concatenating a
specified string a specified number of times.

Syntax 

RPT$(S$,N)

Parameters 

S$               A string expression that contains the string to be
                 concatenated.

N                The number of times that S$ is to be concatenated.  This
                 is of type INTEGER.

Examples 

     20 A$ = RPT$("xy",3)    !A$="xyxyxy"



MPE/iX 5.0 Documentation