Used to access one specific String parameter, or a number of String parameters.
String Parameters are indexed independently from Numeric parameters.
Index is sequenced from left to right in the order in which they are passed to the custom function.
Syntax: |
---|
sStringValue = script.stringParameterList[StringIndexNumber] |
Parameter: |
Description: |
---|---|
StringIndexNumber |
Index number of passed String Parameter. Index number increments for each String Parameter. Index position of 1 is assigned to the left-most String Parameter. |
Returns: |
---|
String value passed by the selected script created parameter. |
Example: |
---|
When a String-Value is one of the items passed to a custom function the "[StringIndexNumber]" is based upon the order in which the string-values are listed in the calling statement.
In this example there is an Numeric parameter and a String parameter. Each will use 1 as their index to pass their value to the custom function's local Variables.
' Custom Function Statement
' Custom Function is Executed on this next line.
|
Results: |
PRINT iFileType_FINE ' Results will show 1 |
Links: |
---|
Script, Script Functions, Script Properties, ParameterList, ReturnValue, StringReturnValue |
See Also: |
|
Edit Time: 9/21/2020 3:22:29 PM |
Topic ID#: 590 |