The following example stores the first parameter of the second step into a variable called ć’¤aram and then displays the parameter in a message box.
Sub Main
Dim Param As Variant
Param = CurrentTask.GetStepParameter (1, 0)
MsgBox Param
End Sub