By the way, I checked:
genl prevcheck`X'=moa`X'[_n-1] if tag`X'==1 , by(site subject (rnum))
is legal, but _doesn't_ have the interpretation you
would wish. The parentheses get stripped on entry, so to speak,
and lose their special meaning.
Nick
[email protected]
> -----Original Message-----
> [email protected]
>
> I will refrain from
> using "genl" for now and stick with the more certain
> "bysort..:gen...". My
> habit of using "genl" is just to tag "working" variables that I will
> eventually drop out of my permanent files.
*
* 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/