WinStudio
Global scripts
Returns the values of the input parameters from a global script.
GetParameter( integer )
Part |
Description |
integer |
Required. An integer indicating a parameter in the list of parameters for a script. |
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)
Sub Main() Dim iParm As Integer Dim strParm As String strParm = GetParameter(0) iParm = GetParameter(1) Application.ShowMessage(strParm + " " + iParm.ToString()) End Sub