GetParameter method (WinStudio sripts)
Applies To
Global scripts
Definition
Returns the values of the input parameters from a global script.
Syntax
GetParameter( integer )
Part | Description |
integer | Required. An integer indicating a parameter in the list of parameters for a script. |
Remarks
A script's parameters are defined in a comma-delimited list. For example, an event handler uses a script called ScriptTest. The parameters of ScriptTest are enclosed in parentheses as in the following statement:
ScriptTest(Parm Test, 23)
Example
Sub Main() Dim iParm As Integer Dim strParm As String strParm = GetParameter(0) iParm = GetParameter(1) Application.ShowMessage(strParm + " " + iParm.ToString()) End Sub