>Not the same at all. My example had zero lines of method code.
Splitting Hairs. Come on. My point was to show the basic similarities. The water's warm; come on in!
>BTW, does the parent constructor code run or not? How does one control that?
Very good question. I said I was a newbie, so I had to go dig a little...
Here is the best explanation I could quickly find:
"Depends on what kind of constructor it is - if it is the default constructor (i.e. constructor with no parameters) then you can't override the parent's
constructor, it will always execute. If it is a non-default constructor (edit: i.e. has paramters?) then it is automatically overriden unless you call it using the "base." keyword. Note that the default constructor of the parent is always called regardless of what kind of constructor is being invoked of the child class. Also, whenever a base-class constructor executes, it does so before the inherited class constructor is run."
(the above is quoted from:
http://bytes.com/groups/net-c/260096-can-we-override-constructor ) You may want to read the entire thread.
Also, you've just pushed the limits of my basic knowledge at this point. As I said, I'm pretty new.
All I can say is that it is fun to learn something new. I still love VFP an work in it every day (or so), but I also love learning stuff; just like the first day I began learning Foxpro.