At 03:57 PM 6/18/2008, Solorzano, Jenniffer wrote:
Hi,
I don't know what is happening with my stata version. I'm trying to run
this simple program....
. program count6
1. forvalues `i'=1/6 {
2. display `i'
3. }
4. end
. count6
_= invalid name
r(198);
And that error appears from nothing, somebody can help me?
forvalues `i'=1/6 {
should be
forvalues i=1/6 {
When in doubt, try -set trace on- to see where the error is occurring.
-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
HOME: (574)289-5227
EMAIL: [email protected]
WWW: http://www.nd.edu/~rwilliam
*
* 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/