if is implemented in terms of and, and neither creates a scope at run-time (i.e. they don't call ENTER+LEAVE). That means they don't affect the life (refcount) of variables.
if only affects the visibility of the variable, a compile-time effect.
yuck!
Update: Just to be clear, I'm talking specifically about the condition expression, not the body of the if.
In reply to Re: if(my) scope
by ikegami
in thread if(my) scope
by oha
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |