On Wednesday 25 April 2007 06:46, Ed Leafe wrote: > You really need to keep your namespaces straight. I don't know why > it isn't overwhelmingly obvious to you that the name 'myObj' is long out > of scope at the time that a cdxml is parsed into class code and then > instantiated. Maybe you are thinking along the lines of VFP- > style private memvars, which might work in something like this, but > anyone who's worked with Python for even a short while would > understand that there is nothing even remotely equivalent to 'private' I can attest that namespaces are not the easiest concept to get ones head around. In my case I use two tools to help determine namespace and scope. The first is the ctrl-D/dShell where I can type the name/string of the variable or object in question. The second is my editor "wing" which provides a watch window. In the watch window I can see everything associated with objects which provides a very good overview scope.
Since you took the time to explain scope and namespace could you explain "__" in context of Dabo. Why is it necessary to mangle functions? -- John Fabiani _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]
