Home  |  IT Zone  |  Tips / Tricks  |  Did You Know  |  Inspirational  |  Health  |  World Infos  |  Insurance  |  Universities  |  Forex  |  Mathematics  |  Illusions  |  Children Day Quotes  |  Fun / Jokes  |  Decent Quotes  |  Birthday Msgs  |  Good Morning Msgs  |  Good Night Msg  |  Husband Wife Jokes  |  Teacher Students Jokes  |  Insult Jokes  |  Love Quotes  |  Sad Quotes  |  Funny Pics  |  Be Aware  |  Articles  |  Simple Joys of Life 

What is the function of color statement and color codes? (Qbasic)

What is the function of color statement and color codes?
  • The color statement is used to change the color of the text or graphics.
  • Syntax:
    COLOR <Color code>
    where ,
    Color-code = the number that sets the color.

    The number that sets the color are as follows:
 Color    Color code
1 Dark blue
2 Dark green
3 Dark cyan
4 Dark red
5 Dark magenta
6 Magenta
7 White
8 Grey
9 Light blue
10 Light green
11 Light cyan
12 Light red
13 Light magenta
14 Yellow
15 Bright white

Share :

Twitter
Back To Top

facebook main

Powered by Blogger.