View Single Post
Old 04-13-2012, 02:51 AM   #40
Tale
Human being with feelings
 
Tale's Avatar
 
Join Date: Jul 2008
Location: The Netherlands
Posts: 3,645
Default

Quote:
Originally Posted by Justin View Post
[*] There is some initial support for some statically-bound, template-like object-orientedness. In addition to locals() for functions, you can also specify a list of variables via instance(), and those variables names will be concatenated with the context of the function.
Very cool! I was just playing around with this a bit, but I got an error when declaring local variables using locals(). However, then I saw that cyco130 used local() instead of locals()... So, which is it, local() or locals()?
Tale is online now   Reply With Quote