BCX Console Demonstration Program s120.bas

 MACRO BLACK        =  0
 MACRO BLUE         =  1
 MACRO GREEN        =  2
 MACRO CYAN         =  3
 MACRO RED          =  4
 MACRO MAGENTA      =  5
 MACRO BROWN        =  6
 MACRO LIGHTGRAY    =  7
 MACRO DARKGRAY     =  8
 MACRO LIGHTBLUE    =  9
 MACRO LIGHTGREEN   = 10
 MACRO LIGHTCYAN    = 11
 MACRO LIGHTRED     = 12
 MACRO LIGHTMAGENTA = 13
 MACRO YELLOW       = 14
 MACRO WHITE        = 15
 
 CLS
 
 COLOR BLACK,BLACK        : PRINT "BLACK ON BLACK"
 COLOR BLUE,BLACK         : PRINT "BLUE ON BLACK"
 COLOR GREEN,BLACK        : PRINT "GREEN ON BLACK"
 COLOR CYAN,BLACK         : PRINT "CYAN ON BLACK"
 COLOR RED,BLACK          : PRINT "RED ON BLACK"
 COLOR MAGENTA,BLACK      : PRINT "MAGENTA ON BLACK"
 COLOR BROWN,BLACK        : PRINT "BROWN ON BLACK"
 COLOR LIGHTGRAY,BLACK    : PRINT "LIGHTGRAY ON BLACK"
 COLOR DARKGRAY,BLACK     : PRINT "DARKGRAY ON BLACK"
 COLOR LIGHTBLUE,BLACK    : PRINT "LIGHTBLUE ON BLACK"
 COLOR LIGHTGREEN,BLACK   : PRINT "LIGHTGREEN ON BLACK"
 COLOR LIGHTCYAN,BLACK    : PRINT "LIGHTCYAN ON BLACK"
 COLOR LIGHTRED,BLACK     : PRINT "LIGHTRED ON BLACK"
 COLOR LIGHTMAGENTA,BLACK : PRINT "LIGHTMAGENTA ON BLACK"
 COLOR YELLOW,BLACK       : PRINT "YELLOW ON BLACK"
 COLOR WHITE,BLACK        : PRINT "WHITE ON BLACK"

Result:


 Result not displayed for this example.