Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

number of lines 1

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
how do you change the number of lines displayed on the screen in qbasic? my computer has too many lines on the screen and so it is too small to read

thanks!
 
Open it in a full screen window. You should get 25 lines from top to bottom of the screen (assuming you are in the standard 80x25 DOS display mode).
VCA.gif
 
Hi,

If you want to show the maximu lines when starting qbasic then you must use the switch /h.

eg

C:\qbasic\qb.exe /h

Regards
 
My guess is somebody/something set your command prompt console windows to be 50 lines or something.

You might try opening a DOS window full-screen and then typing MODE CON LINES=25 and then starting QBasic.
 
Your question is somewhat vague.

If you start QB in a window, you'll need to change the shortcut's properties to FULL WINDOW (like: Alt + Enter key combo).

If your Desktop is set to anything higher than 640 x 480 RESOLUTION then you'll definately have to do the above --or-- change the Display's Resolution to the aforementioned as a last resort (after you've mastered the intermediate basics of WINDOWS, this should not pose a problem).

If you are in FULL WINDOW mode -AND- QB text (itself) is teny-tiny. The reverse of what Laffalot said may be the problem. If this is the case, check your shortcut's properties for the command line, to make sure that there is no "/h" at the end.

If you are saying that a QB program is running and ITS text is teny-tiny then it is part of the program itself and you'll have to modify the code (if available). You'll have to search for SCREEN and WIDTH statements. (NOTE: if you change the source code, the program may not run at it was intended by the author and you'll end up with even more problems than you know.)

Anyways, let us know if any of this has helped or not.

--MiggyD It's better to have two heads to solve a problem from different angles than to have tunnel vision to a dead end.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top