Hi all,
I am writing to ask a quick question on using the brackets "{ }" in Stata. I want to use it to hide a large intermediate code in a do file, but it always unhides every time I re-open the do file.
Example:
In the example, I would like to hide step 1 every time I re-open the do file. Thanks!!
Best,
Long
I am writing to ask a quick question on using the brackets "{ }" in Stata. I want to use it to hide a large intermediate code in a do file, but it always unhides every time I re-open the do file.
Example:
Code:
sysuse auto, clear scalar step1 = 0 scalar step2 = 1 if step1 == 1 { reg price headroom reg price headroom reg price headroom reg price headroom reg price headroom reg price headroom } if step2 == 1 { sum price }
Best,
Long
Comment