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

st: -for- versus -for each- again


From   Ian Watson <[email protected]>
To   statalist <[email protected]>
Subject   st: -for- versus -for each- again
Date   Thu, 8 Apr 2004 13:17:18 +1000

I should add to my earlier posting, that I realise one can have a -for
each- loop nested inside another -for each- loop, but I hope that is
not the answer to my query. If so, it means several lines of code
instead of just one.

And, if one fully exploits -for- (with a third placeholder Z), then it
would mean even more lines of code in -for each- to replicate this
behaviour.

  

-- 
Kind regards,
 Ian                          

=================================
Ian Watson
Senior Researcher
acirrt
University of Sydney
NSW 2006
Australia

Phone: 02 9351 5622
  Fax: 02 9351 5615

Email: [email protected]
  Web: www.acirrt.com
================================

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