BASICS such as GWBASIC, BASICS, and others offer the STRING$ function. This function duplicates a character a defined number of times in a line, such as 30 graphic characters, 20 asterisks, etc. The function would be used as:
150 PRINT STRING$ (30,143): REM 143 is code for graphic sqr.
160 PRINT STRING$ (20,"*"): REM character may be in quotes
As Sinclair BASIC does not include this function, as handy as it appears to be, there is a way to simulate STRING$ for the TS 1000, 1500, and 2068. Develop a subroutine something like the following to get it out of the main program:
2399 LET T$=""
2310 FOR M=1 TO 20
2320 LET T$=T$+"*"
2330 NEXT M
2340 LET A$=T$
2350 RETURN
Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.