Graphics in qb45

Please use this Board for QBasic related requests ( file research, programming, etc.)

Moderators:Administrator, Global Moderator

Post Reply
petersull
Newbie
Posts:6
Joined:Sun Jun 14, 2009 11:07 pm
Graphics in qb45

Post by petersull » Tue May 04, 2010 11:16 pm

Every time I try run a program using graphics, I get the error message "illegal function call". After clicking help in the error box, the only reason that matches is "An I/O function or statement is performed on a device that does not support it".
Is there a way to do graphics programming in qb45 on a laptop running Windows Vista Home Basic?

Best regards, Peter Sullivan.

User avatar
BurgerBytes
Jr. Member
Posts:22
Joined:Thu Aug 06, 2009 7:44 pm
Location:Pittsburgh, PA, United States

Post by BurgerBytes » Wed May 05, 2010 8:53 pm

You MUST enter a SCREEN mode from 1 to 2 or 7 to 13!

SCREEN 12 is 640 X 480 pixels with 16 colors (0 to 15)
SCREEN 13 is 320 X 200 pixels with up to 256 colors (0 to 255)

SCREEN 0 is TEXT ONLY. It does not require a screen entry, so that is what you have been trying to use....
Get my QB demonstrator here: http://dl.dropbox.com/u/8440706/Q-Basics.zip

Post Reply