Kill (shut down the ProcessClass object)

Top  Previous  Next

 

Kill, VIRTUAL

The Kill method shuts down the ProcessClass object by freeing any memory allocated during the life of the object and executing any other required termination code.

Member of: ProcessClass

Implementation:

The Kill method calls the ViewManager.Kill method.

Example:

!initialize the ProcessClass object:

Process.Init( Process:View,  |      !set the VIEW

       Relate:Client,        |      !set the primary file RelationManager

       ?PctText,             |      !set the Window control for text messages

       PctDone,              |      !set the PROGRESS USE variable

       ProgressMgr,          |      !set StepClass object to monitor progress

       CLI:Name)                    !set StepClass free element to monitor

!procedure code

Process.Kill                        !shut down the ProcessClass object

See Also: ViewManager.Kill