Lexical operator for repeating a specified string a specified
number of times.
Format
%REPEAT (integer,string)
1 – Arguments
integer
The first argument, of type integer, is the number of times to
repeat the string. If you specify a negative value, the string is
repeated 0 times.
string
The second argument, of type string, is the string to be
repeated.
2 – Description
%REPEAT is used to repeat the specified string a specified number
of times.
3 – Example
.PRINT "Never, %REPEAT (3, <ever, >)touch that button!"
After lexical processing, the statement appears as:
.PRINT "Never, ever, ever, ever, touch that button!"