Dear All,
While running a dofile, Stata gives me the break error even though I'm not stopping the execution. The code I'm using is the following loop
local variables unemployment population gpd_growth ln_gpd_growth wages lagged_wages
foreach var of local variables {
local vlabel: variable label `var'
graph bar `var', over(label_region, label(angle(45)) sort(`var') reverse) ytitle("% `vlabel'") ///
graphregion(color(white) ilcolor(black)) plotregion(lcolor(black))
}
Thanks a lot for your help!
While running a dofile, Stata gives me the break error even though I'm not stopping the execution. The code I'm using is the following loop
local variables unemployment population gpd_growth ln_gpd_growth wages lagged_wages
foreach var of local variables {
local vlabel: variable label `var'
graph bar `var', over(label_region, label(angle(45)) sort(`var') reverse) ytitle("% `vlabel'") ///
graphregion(color(white) ilcolor(black)) plotregion(lcolor(black))
}
Thanks a lot for your help!
Comment