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

st: RE: RE: RE: 2k problem in forvalues


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: RE: RE: 2k problem in forvalues
Date   Wed, 27 Nov 2002 18:05:25 -0000

Nick Winter answered Hans Baumgartner and Tao Jiang very
fully. He also wrote 

> -forvalues-, on the other hand, takes a numlist.  

This is not quite true. -forvalues- does not 
take an (arbitrary) numlist. That is explicit 
in the syntax and implicit in the examples. It 
is specialised to take ranges, where the definition of 
range is idiosyncratic to -forvalues-, but -- as 
pointed out earlier -- this certainly does not include 
cases in which you wrap around modulo some value, tacit 
or not.  

(This thread is cycling round the issues 
raised in one started on 14 November!) 

Nick 
n.j.cox@durham.ac.uk 
*
*   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