Re: std/graphcst.e colors in OSX - cont.
- Posted by dukester Nov 12, 2009
- 1243 views
DerekParnell said...
dukester said...
Ok, that shows that you are running the correct library file. Now how about the other questions I asked about? You are sure making it hard for anyone to help you
Whoa dude! I answered all your questions. The answers are hosed on this forum!
said...
There are four other questions I asked.
- When you run text_color(3), what is the actual color you are seeing?
- When you run text_color(6), what is the actual color you are seeing?
- When you run eui -version, what exactly is being displayed?
- When you run the program below, what exactly is being displayed?
---- ifdef OSX then puts(1, "OSX") elsifdef UNIX then puts(1, "UNIX") elsedef puts(1, "WINDOWS") end ifdef ----
By the way, you are using the color names "Yellow" and "Bright Yellow", but Euphoria uses the names "Brown" and "Yellow" for those colors.
Here are the answers to the above:
text_color(0) gives black 1 " red 2 " green 3 " brown 4 " blue 5 " magenta 6 " cyan 7 " white 8 " black 9 " bright_red 10 " bright_green 11 " yellow 12 " bright_blue 13 " bright_magenta 14 " bright_cyan 15 " bright_white 05:46 pm >> cat get_OS.ex ifdef OSX then puts(1, "OSX\n") elsifdef UNIX then puts(1, "UNIX\n") elsedef puts(1, "WINDOWS\n") end ifdef 05:46 pm >> eui ./get_OS.ex OSX 05:47 pm >> eui -version Euphoria Interpreter 4.0.0 development (r2681M) for OS X Using System Memory