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

st: -:word of- macro function / estout limit


From   "Jann Ben" <[email protected]>
To   <[email protected]>
Subject   st: -:word of- macro function / estout limit
Date   Tue, 29 Nov 2005 09:52:40 +0100

Hi,
some time ago I reported on statalist that the 
-:word of- extended macro function appears to 
truncate long words to 503 characters. See: 

 http://www.stata.com/statalist/archive/2005-11/msg00643.html

This limit of the -:word of- function causes a 
problem in -estout-. The problem has been 
reported by Radu Ban, see 

 http://www.stata.com/statalist/archive/2005-11/msg00620.html

And my reply:

 http://www.stata.com/statalist/archive/2005-11/msg00644.html

-estout- may break if you try to create a table of 
a *large* number of stored estimates (say 100 or 
more). (-estout- uses local macros to build a 
logical representation of the basic structure of 
the table. If the table rows are getting very long, 
-estout- may hit the 503 character limit of the 
-:word of- function.)
 
Here is what Stata Technical Support had to say 
about the problem:

"It turns out that the -:word of- extended macro 
function pulls 'tokens' off of the string as words, 
and Stata's internal parser has a limit of 503 
characters for a 'token'. StataCorp is looking into 
changing the -:word of- extended macro function to 
not be affected by this limit."

-estout- will be fixed once the -:word of- extended 
macro function is changed.

ben

--------------------------
Swiss Federal Institute 
of Technology Zurich (ETH)
Sociology
ETH Zentrum SEW E 28
CH-8092 Zurich

Ben Jann, lic. rer. soc.
Scheuchzerstrasse 70
Tel. +41 1 632 55 58
Fax  +41 1 632 10 54
[email protected]
http://www.socio.ethz.ch/

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