home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!uunet.ca!canrem!telly!druid!darcy
- From: darcy@druid.uucp (D'Arcy J.M. Cain)
- Subject: Re: Using ANSI.SYS codes from C? (Turbo)
- Message-ID: <1992Aug22.225333.11298@druid.uucp>
- Date: Sat, 22 Aug 1992 22:53:33 GMT
- References: <1992Aug18.013912.12547@cs.umb.edu> <1992Aug18.111356@shovel.Prime.COM> <1992Aug19.135137.1507@tac.fi>
- Organization: D'Arcy Cain Consulting
- Lines: 33
-
- tiok_ks@tac.fi writes:
- >In article <1992Aug18.111356@shovel.Prime.COM>
- >tim@shovel.Prime.COM (Tim Cantin) writes:
- >> it's the same as the resistor
- >> code table if you know that! :)~
- >> If anyone knows those color codes, feel free to post them! *grin*
- >I don't think it's the same... Resistors have 10 different colours,
- >order of which I'm not sure of, but according to the Programmer's PC
- >Sourcebook there are only 8 ANSI colours:
- >
- >text bkgr. colour
- >---- ----- ------
- >30 40 black
- >31 41 red
- >32 42 green
- >33 43 yellow
- >34 44 blue
- >35 45 magenta
- >36 46 cyan
- >37 47 white
-
- And this isn't even the same order as resistor codes which can be remembered
- by "Bad Boys Rape Our Young Girls But Violet Gives Willingly." This maps to
- Black, Brown, Red, Orange, Yellow, Green, Blue, Violet, Grey and White.
-
- And to the guy who accused me of being politically correct a while back
- in email what do you think now? :-)
-
- --
- D'Arcy J.M. Cain (darcy@druid.com) |
- D'Arcy Cain Consulting | There's no government
- Toronto, Ontario, Canada | like no government!
- +1 416 424 2871 DoD#0082 |
-