Where can I use the classInfo predicate?

Discussions related to Visual Prolog
User avatar
Ferenc Nagy
VIP Member
Posts: 216
Joined: 24 Apr 2007 12:26

Where can I use the classInfo predicate?

Unread post by Ferenc Nagy »


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.".
TIA, Regards,
Frank Nagy
User avatar
Thomas Linder Puls
VIP Member
Posts: 1176
Joined: 28 Feb 2000 0:01

Unread post 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).
Regards Thomas Linder Puls
Post Reply