7 Jun
2001
7 Jun
'01
8:26 p.m.
Casey Duncan writes:
Couldn't you do:
"_.getattr(_,variable,_.None)"
to get the desired result? I would not expect this:
"getattr" accesses the attributes of "_", such as "string", "int", ... It can not access the "content" exposed by the mapping interface (e.g. via __getitem__). A "get" method would also allow to pass "_" as parameter to Z SQL methods. I called for it a long time ago. But, helas ... Dieter