Concept Framework 2.2 documentation Contents | Index

standard.lang.cli.CLArg

Name Version Deprecated
CLArg version 1.0 no

Prototype:
array CLArg();


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

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;
	}
}

Returns:
Returns an array containing the command line arguments.

Documented by Eduard Suica, generation time: Sun Jan 27 18:15:13 2013 GMT(c)2013 Devronium Applications