|
ScriptArguments Object |
|
See Also: |
The ScriptArguments.Item property sets/returns an item in the collection.
VBScript:
JScript:
| oArguments | A ScriptArguments object. |
| index | A zero-based index to the collection. |
Item is the default property, so the ".Item" text can be omitted.
Items are accessed using a numeric index. To set an item in the collection:
' Set an item using an index
Script.Arguments(1) = "arg1"
To retrieve an item from the collection:
' Retrieve an item using an index
s = Script.Arguments(1)