Execute Method

Executes an ActiveX XCALL subroutine.

Syntax

IXcall.Execute(XcallBlock,ArgCount)

Parameters

XcallBlock

An ASHW32Lib.IXcallBlock interface reference to the A-Shell XCALL parameter block representing the calling XCALL statement.

ArgCount

An Integer value indicating the number of parameters or arguments specified in the AlphaBASIC XCALL statement.

Remarks

The Execute method is called whenever an XCALL statement for the subroutine is exexcuted. The values of the XCALL parameters can be accessed through the various argument reading and writing methods available on the passed IXcallBlock interface. A reference to the calling A-Shell application can be obtained with the Application property of the passed IXcallBlock interface.