I've written quite a few KiX scripts but have never needed to pass an argument into the script before. I'm now trying to pass arguments into a script and have been trying to use the getcommandline() function as mentioned in the release notes for v4.52.

When testing how to use this function in a very basic script that only echos the command line back I continue to get errors.

 Code:
; test.kix
$CommandLine=GetCommandLine(0)
'The command is '$CommandLine ?


When launching my test script using the command line:
kix32.exe test.kix hello

I get the following output:
The command is kix32.exe test hello
ERROR : failed to find/open script [hello]!

It's as if KiX isn't realizing this is a variable I'm passing in and is trying to run it as an additional script after it finishes the first script.

I get the same result using either v4.52 or v4.53.

There's precious little mention of the getcommandline() in the release notes and nothing in the manual (http://www.kixtart.org/manual/).

What am I missing here? How do I get rid of this error?
Any pointers on how to pass an argument into a script?