-forval- does not accept all possible numlists.
The documentation doesn't claim this and
it doesn't do it anyway.
The limit is thus not the issue. You
need to use -foreach-.
Nick
[email protected]
Daniel Mueller
> 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.
>
*
* 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/