[Tutor] sorting / outputting varibales

Kent Johnson kent37 at tds.net
Thu Nov 1 20:21:42 CET 2007


Evert Rol wrote:
> Hm, I don't know directly how to get the name of a variable. I'd  
> hoped there was a private method (var3.__<something>__), but looks  
> like there isn't it.

No, the mapping from names to values is one way. It's pretty easy to 
have a value associated with no name, or more than one name, so the 
question is not really answerable in the general case.

Kent


More information about the Tutor mailing list