STRING$ Function

Purpose:

To return

Syntax:

STRING$(n,j)
STRING$(n,x$)

Comments:

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.

Examples:

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.