| ![]() |
From | "Raphael Fraser" <raphael.fraser@gmail.com> |
To | statalist@hsphsun2.harvard.edu |
Subject | st: Forvalues Problem |
Date | Fri, 24 Feb 2006 16:41:22 -0500 |
I am trying to perform a loop for the values 3, 7 and 8. I keep getting the invalid syntax error message. Can anyone offer a solution? forvalues i = 3 7/ 8 { gen byte d`i' = strmatch(diag,"*D`i'*") } Raphael * * 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–2025 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |