当 "`md'"=="lowess" 时执行 if 和 else 语句。谁能解释一下这到底是怎么可能的?!
loc methods "connected lowess"
foreach md in `methods' {
if "`md'"=="lowess" {
di "`md'==lowess"
}
else
{
di "`md'!=lowess"
}
}
输出是:
. do "/tmp/SD11749.000000"
. loc methods "connected lowess"
.
. foreach md in `methods' {
2. if "`md'"=="lowess" {
3. di "`md'==lowess"
4. }
5. else
6. {
7. di "`md'!=lowess"
8. }
9. }
connected!=lowess
lowess==lowess
lowess!=lowess