Let's not lose sight of where we started.
Stata has standard constructs
if ... {
}
else {
}
too; the point is that the conditional
testing cannot be vectorised.
Nick
[email protected]
Richard Williams
>
> To me, an if-then-else structure is simpler,
> clearer and less
> error prone. Not only is it used by SPSS, it is used by
> most programming
> languages I have worked with. And, it is easy enough to
> add comments
> explaining what the code does, which I think should be done
> with anything
> you might go back to 6 months later.
*
* 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/