Rpt$: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
m (moved RPT$ to Rpt$ over redirect)
No edit summary
 
Line 1: Line 1:
  Rpt$(A$,X)
  RPT$(<string>,<repeat>)


The '''Rpt$''' [[internal function]] returns A$, repeated X times.
The '''Rpt$''' [[internal function]] returns the string, repeated <repeat> times.


====Comments and Examples====
====Comments and Examples====

Latest revision as of 00:57, 22 May 2014

RPT$(<string>,<repeat>)

The Rpt$ internal function returns the string, repeated <repeat> times.

Comments and Examples

Line 10 will print a row of stars (asterisks) on the printer that is 132 columns long.

00010 PRINT #255: RPT$("*",132)