I have set up the following loop:
Code:
foreach name in "Botswana" "Burkino Faso" "Cameroon" "Ethiopia" "Ghana" "Kenya" "Lesotho" "Malawi" "Mauritius" "Mozambique" "Namibia" "Nigeria" "Rwanda" "Senegal" "South Africa" "Tanzania" "Uganda" "Zambia" { graph twoway (line Man_share year if CountryName=="`name'"), /// title("`name'", size(small)) /// ytitle("") /// saving(graph_`name') }
Code:
invalid syntax, Faso not allowed
Code:
invalid syntax, Africa not allowed
0 Response to Issue with loop saving graphs with more than one word
Post a Comment