TI99 Environment

RPT$


Syntax

integer-variable = RPT$(string,reps)

Description

This function repeats and concatenates the contents of string, by the number of times expressed in the reps parameter.

  Example Code
`Scrolling Message 
x = 12 : y = 1 : t = 1
a$=RPT$(" ",28)+"Welcome to the TI99 Environment!!"
a = fast len(a$) 
do
   display_at(x,y,mid$(a$,t,28),0)
   tiwait(100)
   inc t
   if t= a + 1 then t=1 
loop

Go back to ...

TI99E Commands Menu
Main Menu

Copyright © Carlos Santiago Lebron - TI99 Environment 2020