Programs

ProgramSource FileDescription
basictest_suite_M_CLI2.f90

STACK OF TESTS – some systems will have a limit on how much process spawning is allowed

demo1demo10.f90

WHEN DEFINING THE PROTOTYPE

Read more…
demo1demo1.f90

DECLARE “ARGS” ALL DONE CRACKING THE COMMAND LINE. GET THE VALUES USE THE VALUES IN YOUR PROGRAM.

demo2demo2.f90

FULL EXAMPLE ADDING HELP AND VERSION DISPLAY DEFINE AND PARSE COMMAND LINE

Read more…
demo3demo3.f90

! JUST THE BARE ESSENTIALS

demo4demo4.f90
demo5demo5.f90

CHARACTER VARIABLES character variables have a length, unlike number variables

demo6demo6.f90

SUBCOMMANDS For a command with subcommands like git(1) you can make seperate namelists for each subcommand. You can call this program which has two subcommands (run, test), like this: demo6 –help demo6 run -x -y -z -title -l -L demo6 test -title -l -L -testname demo6 run –help

Read more…
demo7demo7.f90
demo8demo8.f90

SOMETIMES YOU CAN PUT MULTIPLE VALUES ON GETARGS(3f)

demo9demo9.f90

QUICK PROTOTYPE: JUST THE BARE ESSENTIALS

demo_get_argsdemo_get_args.f90
demo_get_args_fixed_lengthdemo_get_args_fixed_length.f90
demo_get_args_fixed_sizedemo_get_args_fixed_size.f90
demo_get_subcommanddemo_get_subcommand.f90
demo_M_CLI2demo_M_CLI2.f90
demo_set_argsdemo_set_args.f90
demo_specifieddemo_specified.f90