Init (initialize the BufferedPairsClass object)

Top  Previous  Next

 

Init

The Init method initializes the BufferedPairsClass object.

Implementation: The Init method creates the List and RealList properties. This method "points" the inherited List property to the RealList property so there is, in fact, only one list of fields which may be referred to as RealList.

Example:

INCLUDE('ABUTIL.INC')       !declare BufferedPairs Class

Fields  &BufferedPairsClass  !declare BufferedPairs reference

 

CODE

Fields &= NEW BufferedPairsClass !instantiate BufferedPairs object

Fields.Init                      !initialize BufferedPairs object

.

.

.

Fields.Kill              !terminate BufferedPairs object

DISPOSE(Fields)          !release memory allocated for BufferedPairs object

 

See Also:     Kill, List, RealList