Arturo, Thanks for the detailed explanation and example. > BTW, only virtual methods truly override methods > in base classes. All other methods and properties > do not override but provide name hiding. As I've already confessed to Doug, I incorrigibly mis-use the terms "override", "overload" and "hide" in these contexts. On this occasion I had very carefully chosen my example to ensure that there was no overriding, and no virtual methods, but I still used the wrong term. Apologies to anyone whose time I wasted, and thanks to everyone who helped put me straight. > Evidently, the simulator used by the student has a bug. > He should see "3" and "4", as expected. Yes, indeed, it was a tool bug. -- Jonathan Bromley, Consultant DOULOS - Developing Design Know-how VHDL * Verilog * SystemC * e * Perl * Tcl/Tk * Project Services Doulos Ltd. Church Hatch, 22 Market Place, Ringwood, Hampshire, BH24 1AW, UK Tel: +44 (0)1425 471223 Email: jonathan.bromley@doulos.com Fax: +44 (0)1425 471573 Web: http://www.doulos.com The contents of this message may contain personal views which are not the views of Doulos Ltd., unless specifically stated. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Fri Oct 19 12:28:28 2007
This archive was generated by hypermail 2.1.8 : Fri Oct 19 2007 - 12:28:43 PDT