Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Re: RE: r(varlist) after command lookfor


From   "Michael Blasnik" <[email protected]>
To   <[email protected]>
Subject   st: Re: RE: r(varlist) after command lookfor
Date   Thu, 15 May 2008 17:22:59 -0400

Generally misleading advice.

The 244 characters limit is only if the string is evaluated using an equals sign or stored as a variable. In this specific case, the string is in a local macro and just needs to be handled without any equals signs.

M Blasnik

----- Original Message ----- From: "Martin Weiss" <[email protected]>
To: <[email protected]>
Sent: Thursday, May 15, 2008 4:50 PM
Subject: st: RE: r(varlist) after command lookfor



244 is the magic number for lengths in Stata... Do you know -ds-? It is
undocumented but can be extremely useful in such situations...

Martin Weiss
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index