GetConsoleArguments (open)

Get the arguments passed to a script

Syntax

LOADLIB "wh::os.whlib";

STRING ARRAY FUNCTION GetConsoleArguments()

Return value

STRING ARRAY

A string array of arguments passed to the script, not including the script name itself

Description

This function will cause an error if executed without an active console (ie, not started by runscript)