SCR
Format:
SCR X
SCR (X)
Supported by: Pecom 32 BASIC, Pecom 64 BASIC 1.0 and 4.0
Similar commands:
COMX BASIC V1.00: SCREEN
Floating Point BASIC 2.2: COLOR
Telmac SBASIC v 24.3: BKG
The SCR command is in the format, SCR X or SCR (X), where X is a numeric expression (varying from screen 0 to 7 inclusively) which determines the colour of the background. The different screen colours corresponding to different values of X are given in Table 1.
Now, try the command
SCR (1)
followed by pressing CR, and note that the screen colour changes from black to green. Replace the "1" by numbers from 0 to 7 inclusive, and compare the screen colour observed with Table 1. Note that SCR (0) corresponds to the default screen colour. Note also that if either the characters have the same colour as the screen , the characters would not be visible.
X |
Colour |
0 |
BLACK |
1 |
GREEN |
2 |
BLUE |
3 |
CYAN |
4 |
RED |
5 |
YELLOW |
6 |
MAGENTA |
7 |
WHITE |
Table 1: Screen colour for SCR X