Fellow Statalisters (especially StataCorp):
Are there any Mata functions to input values from, and to output values to, a macro in the calling segment? I was thinking of a Mata equivalent of the undocumented c_local command, which allows the user to reset the values of macros in the calling segment. Ideally, I would like to be able to copy values, in both directions, between a local macro in the calling segment and a variable or dataset characteristic. And, ideally, I would like to be able to do this even if the value cannot be enclosed in compound quotes (as will be the case if the value is an unpaired right compound quote).
Is there a way to do this?
Best wishes
Roger
Related Posts with Is there a Mata function for inputting to and outputting from local macros in the calling segment?
Plot regressionHi all, After performing this regression: Code: reg loglprice c.yearquarter I would like to vis…
Problem with merge poly in US countiesDear All, I need to merge US counties in larger units. I manually checked that all the counties I w…
PPMLHDFE useHello everybody, I am studying the impact of infrastructure on horticultural trade using a gravity …
How to remove the graph background line?Hello, Good afternoon. I would like to look for some help: 1) I have no idea how to remove the backg…
How to implement Estimators in STATAHi, I want to apply the apply the "fixed-effect ordered legit estimator" by apply the fixed-effect o…
Subscribe to:
Post Comments (Atom)
0 Response to Is there a Mata function for inputting to and outputting from local macros in the calling segment?
Post a Comment