Kevin Wampler suggested a better approach than using the Type() method
that I had provided as part of my class Class.  His version is closer
to one that Art Eschenlauer had written with his UUnit code and has
the following improvements over my code:

(1) Works with *any* class, not just subclasses of the Class class.
(2) Doesn't require users to override the Type() method.
(3) Works with circular inheritance
(4) Is implemented as a procedure instead of a method.

I've incorporated Kevin's code as a procedure in a package Utils that
is now used by the class Class and others (including the Notifier and
Listener classes in CallBacks.icn).  If anyone is interested in seeing
the new versions of Utils.icn, Class.icn, and/or CallBacks.icn, let me
know and I'll email them out.

-- 
Steve Wampler <[EMAIL PROTECTED]>
National Solar Observatory


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Unicon-group mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unicon-group

Reply via email to