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

st: problem with numlist in forvalues


From   Daniel Mueller <[email protected]>
To   Statalist <[email protected]>
Subject   st: problem with numlist in forvalues
Date   Fri, 11 Mar 2005 11:23:28 -0500

I have a longer -numlist- to process with -forvalues-. I can't see why the following does not work:

forval n = 100(100)1000 1000(500)5000 5000(1000)10000 10000(5000)50000 50000(10000)100000 {
invalid syntax
r(198);

-whelp limits- says the limit of a -numlist- is 1,600. I have 36 above. And the actual list in my example is even longer than that.

Thanks in advance.

Rgds,
Daniel

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