I would like to combine global and local macros to write something like
forvalues i = 1/`i1' {
global b`i' $f`i'
}
trying to cycle through $f1, $f1, etc. The problem is that the global macro $f binds first rather that the local binding first to make $f1.
Is there an alternative construction, or a work around?
forvalues i = 1/`i1' {
global b`i' $f`i'
}
trying to cycle through $f1, $f1, etc. The problem is that the global macro $f binds first rather that the local binding first to make $f1.
Is there an alternative construction, or a work around?
Comment