Jun Xu <mystata@hotmail.com> asks:
> I am writing an ado file and I don't know why when I want to display
> anything in blue:
> *****************************************
> di _n(1) _s(3) in blue "whatever I want"
> *****************************************
> in Stata 7 SE, it always comes up with green. Puzzled. Other colors seem
> not to have this problem (white, green, yellow, red). Any input? Thanks
> before hand.
In Stata 7 (Intercooled or SE) the only way to get a blue color
is by doing something that allows clicking. For instance in a
smcl display you might have "... {help regress} ..." and the word
"regress" would be in blue and clickable.
It was decided that it was very important for blue == clickable
and clickable == blue in all cases (no exceptions). The only
reason that -display in blue ...- still works in Stata 7 is for
backwards compatibility. Old code still works, but instead of
displaying blue it will use green. We felt that this was better
than causing the code to break.
Ken Higbee khigbee@stata.com
StataCorp 1-800-STATAPC
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/