Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: References for `= foo'


From   Wayne Folta <[email protected]>
To   [email protected]
Subject   Re: st: References for `= foo'
Date   Tue, 30 Jul 2013 16:55:36 -0400

> If there is a function or a reference to a variable in the dataset
> that you want to get evaluated, you place '=' in front. Be careful
> with strings as string expressions  are subject to a rather low chars
> limit (not sure about Stata 13).

It appears that it's longer than in the past. In Stat/IC 13 I just created a local macro using = and not using = that was 1700 characters long in both cases. If I did this correctly, this is a huge improvement!

Not sure which limit is applicable, but my Stata 13 shows:

                                      small           IC           SE/MP
# of characters in a macro  (2)       13,400        165,200      1,081,511
length of a str# variable              2,045          2,045          2,045

   Wayne
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index