Noob question:
I need to use a string variable in the name of other variables. I thought of something like:
gen country="EU"
gen netexport_"country"=ex_"country" - im_"country"
It is just an example to illustrate my problem. A loop would be sub-optimal.
0 Response to String variable in Do-file
Post a Comment