'*H' Control Screen Colours
Definition
Format
'*H' =colour_codes$
Where:
colour_codes$ | String of 8 characters representing screen colours for program listings. |
The following ASCII colour codes are supported:
0 Black* | 4 Blue | 8 Dark Gray | < Dark Blue | |
1 Red | 5 Magenta | 9 Dark Red | = Dark Magenta | |
2 Green | 6 Cyan | : Dark Green | > Dark Cyan | |
3 Yellow | 7 White | ; Dark Yellow | ? Dark Gray |
Each colour code position represents different elements:
1: | Background colour for highlighting *[...] searches
| |||
2: | Colour for variables | |||
3: | Colour for literals | |||
4: | Colour for remarks | |||
5: | Colour for error lines | |||
6: | Colour for mnemonics | |||
7: | Colour for statement numbers or labels | |||
8: | Colour for operators (e.g. + - ( ) * / ) | |||
| ||||
Description
Use '*H' (asterisk H) to define colours in a displayed listing for the LIST directive and LST( ) function. Default settings are shown in the example below.
See Also
LIST List Program Statements
LST( ) Return List Form of Statement
'CS' Coloured Syntax
Example
mnemonic '*H'=";4:>1=;9"