Kill (shut down the BufferedPairsClass object)

Top  Previous  Next

 

Kill

The Kill method disposes any memory allocated during the object's lifetime and performs any other necessary termination code.

Implementation:

The Kill method disposes the List and RealList properties created by the Init method.

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:     Init, List, RealList