Programs

ProgramSource FileDescription
demo1demo1.f90

@(#) using the convenience functions DECLARE “ARGS” SET ALL ARGUMENTS TO DEFAULTS WITH SHORT NAMES FOR LONG NAMES AND THEN ADD COMMAND LINE VALUES ALL DONE CRACKING THE COMMAND LINE. GET THE VALUES USE THE VALUES IN YOUR PROGRAM.

demo11demo11.f90

@(#) examples of validating values with ALL(3f) and ANY(3f)

demo12demo12.f90

@(#) using the convenience functions ENABLE USING RESPONSE FILES USE THE VALUES IN YOUR PROGRAM.

demo13demo13.f90

@(#) underdash mode Any dash in a key name is treated as an underscore when underdash mode is on

Read more…
demo14demo14.f90

@(#) ignorecase mode

Read more…
demo15demo15.f90

@(#) strict mode

Read more…
demo16demo16.f90

@(#) unnamed to numbers The default for inums, rnums, … is to convert all unnamed argument values in “unnamed”

demo17demo17.f90

@(#) using the unnamed parameters as filenames For example, this should list the files in the current directory

Read more…
demo18manually_test_bundling.f90

@(#) using the convenience functions USE THE VALUES IN YOUR PROGRAM.

demo2demo2.f90

@(#) all parsing and help and version information in a contained procedure. DEFINE AND PARSE COMMAND LINE

Read more…
demo3hello.f90

example of basic use ! JUST THE BARE ESSENTIALS

demo3demo3.f90

@(#) example of basic use using just the bare essentials

demo4demo4.f90

@(#) COMPLEX type values

demo5demo5.f90

@(#) CHARACTER type values character variables have a length, unlike number variables

demo6demo6.f90

@(#) SUBCOMMANDS

Read more…
demo7demo7.f90

@(#) controlling array delimiter characters

demo8demo8.f90

@(#) Sometimes you can put multiple values on getargs(3f)

demo9demo9.f90

@(#) long and short names using –LONGNAME:SHORTNAME

Read more…
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_set_modedemo_set_mode.f90
demo_specifieddemo_specified.f90
minimalxx.f90
test_ignorecasetest_ignorecase.f90

@(#) unnamed to numbers The default for inums, rnums, … is to convert all unnamed argument values in “unnamed”

test_lastonlytest_lastonly.f90

@(#) unnamed to numbers The default for inums, rnums, … is to convert all unnamed argument values in “unnamed”

test_stricttest_strict.f90

@(#) unnamed to numbers The default for inums, rnums, … is to convert all unnamed argument values in “unnamed”

test_syntaxtest_syntax.f90

@(#) unnamed to numbers The default for inums, rnums, … is to convert all unnamed argument values in “unnamed”