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

Re: st: Put all variables in global.


From   Ulrich Kohler <kohler@wz-berlin.de>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Put all variables in global.
Date   Wed, 10 Nov 2004 14:11:31 +0100

Léandre BASSOLE wrote:
> Dear all!
> I would like to know how can I put all my variables in
> one global like " global A " _all " which does'nt
> work.

. unab vars: _all

puts the names in the local macro `vars'. Use

. global vars `vars'

to put them in a global.

uli


-- 
kohler@wz-berlin.de
+49 (030) 25491-361


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