ENVITaskFromProcedure::PreExecute

The PreExecute method is called first when ENVITask::Execute runs. It performs the following actions:

Syntax

In most cases, the PreExecute method is called by ENVITask::Execute. The only time it should be called explicitly is when a base class other than ENVITaskFromProcedure overrides ENVITask::Execute. When called explicitly, the syntax is as follows:

Obj -> [ENVITaskFromProcedure::]PreExecute, _REF_EXTRA=refExtra

Routine Signature

To overload an object class in order to add more functionality to PreExecute, implement a method with the following signature:

PRO class::PreExecute, _REF_EXTRA=refExtra

Version History

ENVI 5.2. 1

Introduced

API Version

4.2

See Also

ENVITask, ENVITaskFromProcedure, Custom Tasks