Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Function to assign a value label to a global marco


From   Fred Wolfe <fwolfe@arthritis-research.org>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Function to assign a value label to a global marco
Date   Fri, 14 Oct 2005 06:13:30 -0500

See help extended_fcn



At 06:08 AM 10/14/2005, you wrote:
Dear all,

I'm trying to do the following:

. label define mylabel 1 "Hello" 2 "Good Bye"
. global myvaluelabel UNKNOWNFUNCTION(mylabel,1)
. di "{$myvaluelabel} XY!"
HELLO XY!

But I don't know the UNKNOWNFUNCTION and I didn't find an information about. But I know that it is possible..

(In fact I want to assign the value label to a legend in an overlaid tw graph.. )

I hope someone can help me..

Lars

--
____________________________
Lars E. Kroll
UNI 030 83857614
RKI 030 45473307
Privat 0176 23131352
FAX 069 13306720084
WEB www.lkroll.de
*
* 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/

Fred Wolfe
National Data Bank for Rheumatic Diseases
Wichita, Kansas
Tel (316) 263-2125     Fax (316) 263-0761
fwolfe@arthritis-research.org


*
*   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/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index