home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mega CD-ROM 1
/
megacd_rom_1.zip
/
megacd_rom_1
/
MENU
/
RNR3D.ZIP
/
BOXES.DOC
next >
Wrap
Text File
|
1988-10-08
|
4KB
|
102 lines
%%47,62,3%%
This is an example of text and "boxes" using the color setting
capability of READ & RUN.
┌──────────────────────────────────────────┐
│ │
│ This is an example of a colored box. │
│ │
└──────────────────────────────────────────┘
Color parameters are placed in the first line of the file in the
format %%47,62,2%%. Color parameters are computed by from the
following table by adding the background value to the foreground
(character) value:
Color Background Foreground
----------- ---------- ----------
Black 0 0
Blue 16 1
Green 32 2
Cyan 48 3
Red 64 4
Magenta 65 5
Brown 66 6
White 67 7
Gray N/A 8
Lt. Blue N/A 9
Lt. Green N/A 10
Lt. Cyan N/A 11
Lt. Red N/A 12
Lt. Magenta N/A 13
Yellow N/A 14
Hi. White N/A 15
For example, hi-intensity white on green is 32+15 = 47.
Text outside of boxes is displayed using the first color parameter.
Text in single-line boxes is displayed using the second color
parameter, and text in double-line boxes is displayed using the
third parameter.
╔═══════════════════════════════════════╗
║ ║
║ Example of double line box. ║
║ ║
║ ║
╚═══════════════════════════════════════╝
Boxes can be nested to one level, provided boxes are of different
line types, i.e. single line box in double line box, or double
line box in single line box.
╔══════════════════════════════════════════════════════╗
║ ║
║ ║
║ ┌──────────────────────────────────┐ ║
║ │ │ ║
║ │ Nested Box │ ║
║ │ │ ║
║ └──────────────────────────────────┘ ║
║ ║
║ ║
║ Text outside of single box ║
║ ║
║ ║
╚══════════════════════════════════════════════════════╝
╓──────────────────────────────╖ ╒═════════════════════════════╕
║ ║ │ │
║ Multi-part box #1 ║ │ Multi-part box #2 │
║ ║ │ │
╟──────────────────────────────╢ ╞═════════════════════════════╡
║ Double-line side - Color ║ │ Single-line side - color │
╙──────────────────────────────╜ ╘═════════════════════════════╛
"Boxes" may be constructed using your text editor using
the following upper level ASCII characters:
│ = 179 ║ = 186 ┤ = 180 ╜ = 189 ╟ = 199
┐ = 191 ╗ = 187 ╡ = 181 ╛ = 190 ╠ = 204
└ = 192 ╝ = 188 ╢ = 182 ┴ = 193 ╙ = 211
─ = 196 ╚ = 200 ╖ = 183 ┬ = 194 ╘ = 212
┘ = 217 ╔ = 201 ╕ = 184 ├ = 195 ╒ = 213
┌ = 218 ═ = 205 ╣ = 185 ╞ = 198 ╓ = 214
With many text editors these may be keyed in by
depressing the "Alt" key and keying in the appropriate
number from the keypad. Or box elements may be copied
from here and duplicated in your text file.