Command[0] .. Command[3]

Contains the numbers passed with the -i option on the command line.

Type:

int 

Define

The name given with the -d option on the command line

Type:

string

Remarks:

Example:

function run()
{
  switch(Command[0]) {
    case 1: doThis(); break;
    case 2: doThat(); break;
  }
  ...
}

See also:

Command line

 

► latest version online