|  |  | 
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: too long string-variable to get proper output
Begin forwarded message:
From: Kit Baum <[email protected]>
Date: January 11, 2007 11:10:04 AM EST
To: [email protected]
Subject: re: too long string-variable to get proper output
Marian had problems with a lengthy string variable.
There should be no problem creating a string variable of 241 bytes:
. gen str241 junk="I tried to generate a cross-table by using a  
stringvariable as I
>  tried to generate a cross-table by using a stringvariable as I  
tried to generate
>  a cross-table by using a stringvariable as I tried to generate a  
cross-table by
> using a stringvariable as I tried to generate a cross-table by  
using a stringvari
> able as I tried to generate a cross-table by using a  
stringvariable as "
. desc junk
              storage  display     value
variable name   type   format      label      variable label
---------------------------------------------------------------------- 
---------
junk            str241 %241s
Kit Baum, Boston College Economics
http://ideas.repec.org/e/pba1.html
An Introduction to Modern Econometrics Using Stata:
http://www.stata-press.com/books/imeus.html
*
*   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/