HBObject() > Methods for object creation and initialization |
Initializes a new instance (object) of a class.
:init( [<params,...>] ) --> self
The method returns the object self.
Method :init() is called from method :new() and serves the purpose of initializing a newly created object. The parameters passed to :new() are forwarded to :init() where the received values are usually stored in instance variables of the new object. An alternative initilization of instance variables is provided with the INIT clause of the DATA declaration of a class.
http://www.xHarbour.com