On Wed, Aug 26, 2009 at 2:14 AM, Diez B. Roggisch <span dir="ltr"><<a href="mailto:deets@nospam.web.de">deets@nospam.web.de</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5"><br>
</div></div>Classes are not scopes.<br>
<br>
So the above doesn't work because name resolution inside functions/methods<br>
looks for local variables first, then for the *global* scope. There is no<br>
class-scope-lookup.</blockquote><div><br>Sorry, I'm coming here with sincere ignorance. If local variables and global variables are not "scopes", then what would it be?<br><br>Cheers,<br>-Xav <br></div></div>