To return
STRING$(n,j) STRING$(n,x$)
STRING$ is also useful for printing top and bottom borders on the screen or the printer.
n and j are integer expressions in the range 0 to 255.
10 X$ = STRING$(10, 45) 20 PRINT X$ "MONTHLY REPORT" X$ RUN �----------MONTHLY REPORT----------
45 is the decimal equivalent of the ASCII symbol for the minus (-) sign.
Appendix C in the GW-BASIC User's Guide lists ASCII character codes.