Tanslate String Name

For questions and postings not covered by the other forums
ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Tanslate String Name

Postby ConvertFromOldNGs » Fri Aug 07, 2009 1:09 pm

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

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 23 guests

cron