Statalist


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

st: re: how do I get more than 244 characters...


From   Kit Baum <kitbaum@mac.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: re: how do I get more than 244 characters...
Date   Thu, 22 Nov 2007 16:24:24 -0500

program drop _all
program klm, rclass
version 10
forv i=1/100 {
	local cr "`cr' locum ipsem `i'"
}
return local cer "`cr'"
end

klm
local test "`r(cer)'"
local len: length local test
di "`len'"


works fine for me, returns 1492  (Stata 10.0/MP2, Mac OS X)



Kit Baum, Boston College Economics and DIW Berlin
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/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index