Concept Framework 1.0 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: Thu Oct 15 20:02:02 2009 GMT(c)2009 RadGs Software