here is my latest attempt:
foreach `var' of varlist freqcsi1_1-freqreport1_15 {
replace `var' = `var' - 1
}
invalid syntax
r(198);
I get it right sometimes, but not consistently. What is wrong in the above?
`var' in the first line should be simply var
aargh
foreach `var' of varlist freqcsi1_1-freqreport1_15 {
replace `var' = `var' - 1
}
invalid syntax
r(198);
I get it right sometimes, but not consistently. What is wrong in the above?
`var' in the first line should be simply var
aargh
Comment