Additional colored row over text

73 Views Asked by At

I wanted to make a fake program in basic just to record it later and share with friends, but I have a problem, there is a colored row over a text, I want to make just background of text blue. Thanks for any help. CLICK IMAGE HERE

enter image description here

1

There are 1 best solutions below

1
Bill Hileman On

Two things.

First, a typical DOS screen (which is what I'm assuming you're trying to emulate) is 25 lines in height, not 30, so you should try:

LOCATE 25,1

Second, if you don't trail your PRINT line with a semicolon (;) it will force a line-feed into another line. You're not seeing the line because I believe that's what's causing your blue blank line - it's locating to line 30, printing the text, then no semicolon, so it scrolls another line which moves your colored blank line up.

Try the PRINT line with a semicolon at the end.