# SHOWCODES

The following screen displays how special "show codes" can be used inside the message portion of the SHOW commands. (Show codes work in all formats of SHOW including: show popup, showctr, showtocol.)

The following table displays SHOW codes available only to systems that support color.

Color Systems Only. (See next table for color values of "n")

\I | Toggle high- intensity on/off
\Ann | Set attribute (background+foreground))
\Fn | Set foreground color
\Bn | Set background color
\C | Display characters only (no color)

Color Attribute Code (\Ann, \Fn, \Bn) Values of "n" for above table.

Foreground/ Background | Foreground Only
"n" | Color | "n" | Color
0 | black | 8 | gray
1 | blue | 9 | bright blue
2 | green | A | bright green
3 | cyan | B | bright cyan
4 | red | C | bright red
5 | violet | D | bright violet
6 | brown or yellow | E | yellow or bright yellow
7 | bright gray or white | F | white or bright white

\Ann - Sets background and foreground colors. The first "n" is the background color; the second "n" is the foreground color. If only one "n" is used, it sets the foreground color, and the background color is set to black (0).

If you want to reset the background and foreground colors to the default colors, use a dash for "n" (\A-).

\Fn - Sets foreground color. Use values 8 to F for "n". If you want to reset the foreground color to the default color, use a dash (-) for "n".

\Bn - Sets background color. Use values 0 to 7 for "n". If you want to reset the background color to the default color, use a dash (-) for "n".

Blinking Colors

Using values 8 to F for the background does not affect the current background color, but will cause the foreground color to blink instead.

The following table displays key label codes (\Kn) values for "n", @SK labels, and DOS keys for SHOW codes.

(Note: Case is significant.)

"n" | @SK | DOS KEY | "n" | @SK | DOS KEY
0 | INSC | Ins or F1 | D | PRTC | F7
1 | DELC | Del or F2 | E | DPRT | F8
2 | INSL | F3 | F | CRON | N/A
3 | DELL | F4 | G | RVON | Alt-F9
4 | SAVE | ESC | H | GRAF | F9
5 | DUPL | F5 | J | HELP | F10
6 | UTAB | PgUp | Y | BRKY | Break
7 | DTAB | PgDn | Z | ENTR | Enter
8 | LTAB | Shift-tab | u | CRUP | Up arrow
9 | RTAB | Tab | d | CDWN | Down arrow
A | CLEF | Ctrl-End | l | CLFT | Left arrow
B | DMAP | F6 | r | CRGT | Right arrow
C | DRAW | Ctrl-L | h | HOME | Home