exact name of a property
"Seth I. Rich" (sir@po.cwru.edu)
Thu, 18 Apr 1996 14:58:56 PDT
>Is there a way to get the exact name of a property? I know property matching
>doesn't matter about the case, but I'm looking for a way to get the exact
>name that was on the property.
Gather 'round while Seth violates the Prime Directive and posts without
verifying that the code works:
to find the real name of 'prop' on object 'o' try
properties(o)[prop in properties(o)]
(which could be optimized)
Seth / Bb
----------------------------------------------------------------------
Seth I. Rich - sir@po.cwru.edu
There is nothing more precious than
Rabbits on walls, no problem. a tear of true repentance.