Introduction MTB Statements File System Compiler Applications Reference Guide Index

Language Structure Data Division I/O Format Division Procedure Division Mnemonics

(Change Color)

Mnemonic: (Change Color=ARG1$)
Hex equivalent: "@0E0E0Bxx00@"

where:
xx = the foreground color

Discussion: This mnemonic changes the foreground color attribute on the Comet console, and is effective only for the current write operation.

ARG1$ is the foreground color; it may be a string constant or a string variable containing the hex representation of the screen color.

See Screen Colors for a list of color codes.

Also see (Change Colors) for a way to change all of the screen colors.

Example:
a. 100 FORMAT (Change Color="@07@")
   .
   PRINT (0,100)

b. PRINT (0) (Change Color="@07@")