I'm writing an ado-file which generates variables based on user-input.
It's all working fine but I wanted the command I used to be visible.
For instance:
I want to display in the console the replace and recode command lines.
I managed to surround them by noisily { }, execute the ado file as "noisily adoname", and even adding noisily before each command line.
But nothing seemed to work.
Is there any solution to this approach?
Thanks in advance
It's all working fine but I wanted the command I used to be visible.
For instance:
Code:
gen bcgv = . capture confirm variable h2 if _rc == 0 { replace bcgv = 0 if inrange(agemo,`vacref') `isalive' `lastborn' recode bcgv (0=1) if inrange(h2,1,3) }
I managed to surround them by noisily { }, execute the ado file as "noisily adoname", and even adding noisily before each command line.
But nothing seemed to work.
Is there any solution to this approach?
Thanks in advance
Comment