I think you answered it yourself, but to clarify - the comment is just a reminder that with a command line of
 Code:
kix32 myscript.kix --a --b --c
the array elements will contain:
0 - kix32.exe
1 - myscript.kix
2 - --a
3 - --b
4 - --c

The first two elements are not the actual arguments, but initial elements of the entire command line.

Using AScan does indeed eliminate any issues of where things are in the array.

GetCommandLine is built in as of 4.52.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D