Oops the invalid syntax is point to the wrong line
forvalues k = 1 / `catvar`j'_totline' {
* forvalues k = 1 / $catvar`j'_totline { <-- invalid syntax error here
This is correct:
forvalues k = 1 / `catvar`j'_totline' { <-- invalid syntax error here
* forvalues k = 1 / $catvar`j'_totline {
----------------------------------------------------------------------------
------------------------
Fred Wolfe Tel
(316) 263-2125
National Data Bank for Rheumatic Diseases Fax (316) 263-0761
Wichita,
Kansas [email protected]
----------------------------------------------------------------------------
-------------------------