Computing.Net > Forums > Programming > qbasic problem...graphics

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

qbasic problem...graphics

Reply to Message Icon

Name: Max
Date: August 20, 2003 at 14:19:17 Pacific
OS: windows95
CPU/Ram: ???
Comment:

qbasic 4.5...having trouble w/ PSET & LINE commands...just playing around w/ simple graphics, but an error message always comes up when i try to execute 1 of these commands. please help



Sponsored Link
Ads by Google

Response Number 1
Name: borelli34
Date: August 20, 2003 at 17:04:49 Pacific
Reply:

We will need to know the exact error message to be the most help to you.

borelli34


0

Response Number 2
Name: Mike
Date: August 20, 2003 at 17:51:41 Pacific
Reply:

If I recall correctly the correct syntax for the LINE command is

LINE (X1, Y1)-(X2, Y2);

where X1, Y1 and X2, Y2 are points in the coordinate plane. Look in the index: it should tell you the correct syntax


0

Response Number 3
Name: Fozzie
Date: August 20, 2003 at 18:39:08 Pacific
Reply:

Yes check the help file. Make sure you have set the screen to a compatible mode. Some are for text only. Screens 12 and 13 I know can handle graphics.

example: screen 13

That satement will change the mode to 320 x 200 graphics mode.

In Qbasic semicolons are not used at the end of statements.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


recommend a middleware pr... Fortran file extensions



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: qbasic problem...graphics

Qbasic problem! www.computing.net/answers/programming/qbasic-problem/783.html

Does anybody her know Turing? www.computing.net/answers/programming/does-anybody-her-know-turing/490.html

Qbasic Alarm www.computing.net/answers/programming/qbasic-alarm/6990.html