Is there a way for a program to pass an ordinary local macro to the "parent" scope, or must I use a workaround like this?
I call this program a bunch of times, and defining the locals over and over seems like a lot of duplication.
Code:
program myprog, rclass return local rmyvar "foo" end ​myprog local myvar `r(rmyvar)'
Comment