Sign in Join
FPDoc Onlineexperiment

IVarInvokeable.DoProcedure function

Member of IVarInvokeableIn unit Variants

Called for methods that do not return a result (procedures).

Declaration

pascal
function DoProcedure(const V: tvardata; const Name: AnsiString; 
 const Arguments: TVarDataArray): Boolean

Arguments

V

Variant on which to operate.

Name

Name of the procedure to execute.

Arguments

Array with arguments passed to the procedure.

Function result

Indicate whether the function was executed correctly.

Description

DoProcedure is called whenever a variant method that does not return a result needs to be invoked. V is the variant on which the method is being executed. The Name is the name of the method to execute, and Arguments is an array of variant arguments that were passed to the method.

The function must return True if the procedure was executed correctly, False otherwise.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.