You might want to take a look at BuiltIn.ParamCount and BuiltIn.ParamStr
However, the question I have back to you is what is the use case for doing so? The way we handle altering run parameters at run time is by using an INI file. Change the params in the INI file and then, as the first routine that the project executes, read those params and adjust accordingly.
Automated Testing Evangelists
Definition expert - noun - Unknown drip under pressure
I have wrote some scripts in TestComplete, so i use testcomplete as command driven testtool.
All Testcases are defined in a DB or Excel Sheets, (shortObjectMapping -> FullObjectMapping, and Testcases)
Some tests i want to schedule bij a command script.
and i want to give some parameters like /file:....xls /testcase:[name of testcase]
when i use a ini file i have to give the ini file to use for each testcase as a parameter.
In this case i don't like to use ini-files because i have 2 file to deliver with a testcase 1 a excel sheet, 2 a inifile.
I hope you understand it, because my English is not that good that i can write exactly what i'm doing.