It seems that _c(varname), _n(varname), _p(varname), _s(varname) all return the first value of a variable, which appears to be of little use. So I wonder why Stata has these system variables. Is there anything useful that they can do? Thank you.
Code:
. sysuse auto (1978 Automobile Data) . di _c[mpg] 22 . di _n[mpg] 22 . di _p[mpg] 22 . di _s[mpg] 22
Comment