In the code below, why does Stata return an error? I run into this kind of problem repeatedly. Although I have explicitly told Stata to include "99" as a string in the macro, Stata appears to get confused.
. local junk "99"
. di `junk'
99
. di "`junk'"
99
.
. local junk 5 99 oops 4.4
. di "junk is " "`junk'"
junk is 5 99 oops 4.4
. local junk 5 "99" oops 4.4
. di "junk is " "`junk'"
junk is 5 4" invalid name
r(198);
Thanks for any enlightenment.
Jacob A. Wegelin
Assistant Professor
Department of Biostatistics
Virginia Commonwealth University
730 East Broad Street Room 3006
P. O. Box 980032
Richmond VA 23298-0032