RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TScriptErrors.Create Constructor

Constructs an object and initializes its data before the object is first used.

Pascal
constructor Create;
C++
__fastcall TScriptErrors();

System::TObject::Create constructs an object. The purpose, size, and behavior of objects differ greatly. The System::TObject::Create constructor defined by System::TObject::TObject allocates memory but does not initialize data. 

Descendant objects usually define a constructor that creates the particular kind of object and initializes its data.

Note: If an exception escapes from a constructor, the object's destructor is called to clean up the failed instance.
 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!