How do I translate this to ZX BASIC?
PRINT ''''''
(print several blank lines)
PRINT ''''''
(print several blank lines)
PRINT '''''' (solved)
|
How do I translate this to ZX BASIC?
PRINT '''''' (print several blank lines)
01-27-2023, 11:12 PM
The ' character in Sinclair BASIC is used for CHR(13) (new line). But in most BASIC dialects it's used as a shot form for REM (comment).
So I prefer to use the latter implementation and discard the new line. You can print a new line using CHR$(13). In ZX Basic, [url=https://zxbasic.readthedocs.io/en/docs/chr/]CHR[url] allows several characters to be specified. So: Code: PRINT CHR$(13, 13, 13, 13, 13, 13) should work. Can you try it, please? |
« Next Oldest | Next Newest »
|