QBasic Code Snippets - COLOR Statement




    ' ___________________________________________________________________________
    '|                                                                           |
    '|                             Pickers Games                                 |
    '|                             -------------                                 |
    '|                                                                           |
    '|                       Color was made by Pickers Games                     |
    '|                                                                           |
    '|  Pickers Games can be found at                                            |
    '|                                  http://www.pickersgames.co.uk            |
    '|                                  ------------------------------           |
    '|                                                                           |
    '|                                                                           |
    '|This Program includes 5 examples of the color statement, all you have to   |
    '|do is change the numbers for differen colors!!                             |
    '|                                                                           |
    '|                                PRESS F5 TO RUN                            |
    '|                                ---------------                            |
    '|                                                                           |
    '|___________________________________________________________________________|

    'Change the numbers for different colors!!
    CLS
    PRINT "this is a test of colors please DON'T press a key": SLEEP 3
    COLOR 1, 2, 3
    PRINT "color 1": SLEEP 1
    COLOR 8, 3, 4
    PRINT "color 2": SLEEP 1
    COLOR 11, 6, 3
    PRINT "color 3": SLEEP 1
    COLOR 28, 6, 5
    PRINT "color 4": SLEEP 1
    COLOR 10, 2, 3
    PRINT "color 5": SLEEP 1

Download this Snippet: Download
Suchmaschinen-Marketing