Re: std/graphcst.e colors in OSX - cont.

new topic     » goto parent     » topic index » view thread      » older message » newer message
DerekParnell 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 blink

Whoa dude! I answered all your questions. The answers are hosed on this forum!

said...

There are four other questions I asked.

  1. When you run text_color(3), what is the actual color you are seeing?
  2. When you run text_color(6), what is the actual color you are seeing?
  3. When you run eui -version, what exactly is being displayed?
  4. 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 
new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu