standard.lang.cli.CLArg

CLArg is available since version 1.0.

Prototype:

array CLArg();

Description:

This function gets the command line parameter as a static array if the application is a command line application.

Return value:

Returns an array containing the command line arguments.

Example
import standard.lang.cli

class Main {
	function Main() {
		// the array containing the argument values
		var argv=CLArg();
		// the argument count (line in a C program)
		var argc=length argv;

		echo argv;
	}
}