QB64.org Forum
Active Forums => QB64 Discussion => Topic started by: Rich on January 30, 2020, 06:57:09 pm
-
Hi,
I am a newbie, so please excuse the question. I would like to know if it is possible to use For/Next to increment the cursor location and print ASC character 177? Can you provide a simple example?
Thanks,
Rich
-
FOR I = 1 TO 10
LOCATE 10, I
PRINT CHR$(177)
NEXT
-
update: whole chart
-
Thank you for the examples and quick response.
-
S McNeill,
It looks as though your code writes over the top of chr$(177) and never advances across the screen. Am I seeing this correctly?
Rich
-
S McNeill,
It looks as though your code writes over the top of chr$(177) and never advances across the screen. Am I seeing this correctly?
Rich
He is printing across the screen, columns 1 to 10
Here is vertical printing by reversing Rows with Columns
LOCATE I
, 10 'LOCATE row (vertical) , column (across or horizontal)
BTW that's an I (capital i) not a 1 (one) they look allot alike!