Statalist


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

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


From   "WEI-JANG HUANG" <[email protected]>
To   <[email protected]>
Subject   st: Re: RE: r(varlist) after command lookfor
Date   Fri, 16 May 2008 09:29:08 -0400

Getting rid of the equal sign worked.  I knew I was hitting the limit of the string but didn't understand why.

Thank you both, Michael and Martin.  I checked out ds, and it is a great command.

Weijang

>>> "Michael Blasnik" <[email protected]> 5/15/2008 5:22 PM >>>
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/ 

_____________________________________________________________________
Mensaje analizado y protegido por Telefonica Empresas
*
*   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/


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