If you want to know more about JM-'s Argument Handling, I recommend you to read the page(s) on the, and the .
Syntax & Examples
This is a copy of the syntax examples available
.jargh : Common use cases, and syntax examples;
// Check if any arguments were passed on startup
#incd .jargh
bool areThereArguments;
arg.chk{>> areThereArguments};
// Store the argument/s in a variable
#incd .jargh
str firstArgument;
arg.store{<< [1] >> firstArgument};
// Usage example
if (firstArgument == "-h" || firstArgument == "--help") : {
// Print available options
};
// Store the program's name (executable's)
#incd .jargh
str programName;
arg.store{<< [0] >> programName};