Page 1 of 1

Where can I use the classInfo predicate?

Posted: 3 May 2014 11:15
by Ferenc Nagy
Hi,

Code: Select all

constants className = "Message_Window_NF/message_Form_NF".     classVersion = "$JustDate: $$Revision: $".
Where can I use the classInfo predicate and the className and classVersion constants, respectively?
Which keywords can be substituted in it, beginning with $?
Are they used by the system somewhere, like in expection handling.

May I freely replace the exotic constants by speaking ones, like this?

Code: Select all

constants     className = "Place Set".     classVersion = "Set of places must be visited.".

Posted: 4 May 2014 14:47
by Thomas Linder Puls
From vip 7.4 and forward classInfo, className and classVersion no longer serves any purpose. When you create new classes these entities are no longer created. Old code can still have them, but as mentioned they doe not server any purpose.

They were used in by the exception system, but the exception system no uses the programPoint's instead.

"$JustDate: $" and "$Revision: $" is used with our version control system Vault (from SourceGear) (but recall that classes no longer uses classVersion for anything).