View on GitHub

Concert

Concert is an imperative, concurrent, strongly typed scripting language

Download this project as a .zip file Download this project as a tar.gz file

Home

Arguments

Arguments, if specified, exist in the global scope of the main thread. Arguments are stored in a string array called “argv”. The number of arguments specified exists in an integer variable called “argc”.

Specifying program arguments

Note: A debugging state, 0 for false and 1 for true, must be specified if using program arguments.

Example with two arguments and debugging disabled:

Concert.exe filename 0 first_argument second_argument

Accessing program arguments

println "First program argument: ", argv[0];
println "Number of program arguments: ", argc;