Clarify scoping of if blocks

I came to the manual looking for this information, and when I didn't find it I ran some tests to see what the behavior is actually like. It would be a shame if the next guy had to do it all over again =)