GetStepParameter Method

CurrentTask2 Example

 

Retrieves the parameter at the step and position specified.

 

Declaration

function GetStepParameter(StepNo As Integer,

 Parameter As Integer) As Variant

 

Parameters

StepNo

 The step number, as an integer, of where the parameters are to come from.

 

Parameter

 The parameter number, starting at “0”, of the parameter to retrieve.

 

Return Values

 The function returns the parameter of StepNo at position Parameter.

 

Description

The GetStepParameter method is used to retrieve a specific parameter from an existing step of a task. For example, consider the following step:

 

MESSAGE: “This is a message box”, 1

 

Calling GetStepParameter (0,1) would return the value “1”, since it is the second parameter of step 0 (the only existing step in our example).