Prof A Olowofoyeku (The African Chief) wrote:
PS: I know that, under BP and Delphi, a call to the constructor automatically zeroes out all the object's fields as appropriate (e.g., pointers are set to Nil, numbers are set to zero, and strings are set to empty).
This is not the case with BP or Delphi "object"s. It is Turbo Vision's TObject.Init (a constructor) that provides this functionality; it is not an inherent feature of an "object". In Delphi, all "class"es must be a descendant of TObject (a special class known to the compiler), and this also probably does field zeroing in Delphi classes.
Jay
Jason Burgon. Author of Graphic Vision Version 2.21 available from: http://homepage.ntlworld.com/gvision