by Didier >> Fri, 3 Aug 2007 9:12:08 GMT
Hi
eg. A class named SRMast, and partNumber is the property.
write SRMast.name ; //return String "SRMast" ,the class name.
write SRMast::partNumber.name; //return String "partNumber" , the property name.
this mechanism( get class name, get property name ) is very helpful for us when programming.
not need to write literal constant to express the name.
I wander whether Tanslate String has the same mechanism ?
If has, how to implement ?
if not, why ? possible to enhance in the future ?
Didier
2007.8.3