Kill (shut down the FieldPairsClass 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 property created by the Init method.

Example:

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

Fields  &FieldPairsClass  !declare FieldPairs reference

 

CODE

Fields &= NEW FieldPairsClass !instantiate FieldPairs object

Fields.Init                   !initialize FieldPairs object

.

.

.

Fields.Kill                   !terminate FieldPairs object

DISPOSE(Fields)               !release memory allocated for FieldPairs object

 

See Also:     Init, List