Dear all,
I am running this code, which creates different log files for each "Centro", each one tabulating some tables.
Everything works well except for the comments I need to put in between (starts with *). Does anybody know why they do NOT appear in the log file? The lines on the commands do not appear either but I don't mind about them
Thank you in advance.
Joan
-----
foreach centro in 35 36 38 {
preserve
keep if var21==`centro'
log using "xxxxxxxxxxxxx\\`centro'.log", replace
* Comment on this line
di NombreCentro
foreach y of global tablas {
tab `y' , sort
}
log close
}
-------
I am running this code, which creates different log files for each "Centro", each one tabulating some tables.
Everything works well except for the comments I need to put in between (starts with *). Does anybody know why they do NOT appear in the log file? The lines on the commands do not appear either but I don't mind about them
Thank you in advance.
Joan
-----
foreach centro in 35 36 38 {
preserve
keep if var21==`centro'
log using "xxxxxxxxxxxxx\\`centro'.log", replace
* Comment on this line
di NombreCentro
foreach y of global tablas {
tab `y' , sort
}
log close
}
-------
Comment