SublimeStataEnhanced icon indicating copy to clipboard operation
SublimeStataEnhanced copied to clipboard

Local macros/tempvars are not automatically dropped

Open anddis opened this issue 7 years ago • 0 comments

Local macros continue to exist after the end of the do-file. (macOS 10.12.6 - Stata MP 14.2 - ST3)

For example: after executing this code

clear all
macro drop _all
set obs 5
tempvar a 
gen `a' = runiform()
su `a'

the temporary variable a is left in the dataset.

anddis avatar Aug 06 '17 07:08 anddis