REPEAT$ function

Purpose: REPEAT$ returns a string concatenated from Count% occurences of Pattern$.


 Syntax:

 RetStr$ = REPEAT$(Count%, Pattern$)

 Parameters:

  • Count% Number of times Pattern$ is to be repeated.
  • Pattern$ String expression to copied to RetStr$.

 Return Value:

  • RetStr$, the return value, is a string concatenated from Count% occurences of Pattern$.

See also STRING$ function.

BCX Console Sample Programs using REPEAT$ function.

S34.bas   S41.bas   S113.bas