I am having troubles with some macros. My peace of code is
Code:
foreach ETC in $ETC{ preserve keep if ETC=="`ETC'" if etc[1] == "Bogotá"{ local Nombre = "Bogotá, D.C" } if etc[1] == "Guajira"{ local Nombre = "la Guajira" } if etc[1] == "Nortesantander"{ local Nombre = "Norte de Santander" } if etc[1] == "SanAndres"{ local Nombre = "San Andrés" } if etc[1] == "SantaMarta"{ local Nombre = "Santa Marta" } if etc[1] == "Valle"{ local Nombre == "Valle del Cauca" } else{ local Nombre = ETC in 1 } restore file write `ETC' `"\newpage"' _n file write `ETC' `"\section{Resultados de `Nombre'}"' _n file write `ETC' `"\subsection{Ambiente escolar en `Nombre'}"' _n }
Thank you in advance.
0 Response to local and conditionals
Post a Comment