COLOR "Illegal Function Call" in SCREEN 2; Use PALETTE on EGA (41395)
This article was previously published under Q41395
SUMMARY
If you invoke the COLOR statement while under SCREEN 2, you will
always get an "Illegal Function Call" error message at run time.
SCREEN 2 does not support the COLOR statement in any version of
Microsoft QuickBasic, GW-Basic, or Microsoft Basic Compiler Versions
6.00 or 6.00b, or Microsoft Basic PDS Version 7.00.
On a CGA card, you can get only black and white in SCREEN 2.
To get color in SCREEN 2, you must have an EGA or VGA card and you
must invoke the PALETTE statement to change colors. You can have only
two colors on the screen at once in SCREEN 2. You can choose from
sixteen different colors (0 through 15).
Modification Type: |
Minor |
Last Reviewed: |
1/9/2003 |
Keywords: |
KB41395 |
|