Argument - cCommandLine
Returns individual arguments from the program's command-line
Type: Function
Return Data Type: String
Parameters
| Parameter | Type | Description |
|---|---|---|
| iIndex | Integer | the index of the argument to retrieve |
Syntax
Function Argument Integer iIndex Returns String
Call Example
Get Argument iIndex to StringVariable
Description
Use this method to retrieve arguments from the command-line by their index. The index is one-based, meaning that the first argument has an index of one; the second has an index of two, and so on.
To obtain the number of arguments that was passed to the program, use the CountOfArgs method.
Return Value
The argument as a string with any quote marks removed.