home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
POINT Software Programming
/
PPROG1.ISO
/
pascal
/
swag
/
color.swg
/
0017_Background-Foreground.pas
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Pascal/Delphi Source File
|
1993-05-28
|
187 b
|
10 lines
YZ> Does anyone know how to "extract" the Foreground and
YZ> background colours from
YZ> TextAttr?
or, For simplicity, use:
FC := TextAttr MOD 16;
BC := TextAttr div 16;