Programs

ProgramSource FileDescription
assertions assertions.F90

Example: two true assertions followed by one intentionally false assertion

check_for_command_line_argument check-for-command-line-argument.f90

This program shows how to use the command_line_t derived type to check whether a command-line argument is present. Running this program as follows with the command should print an indication that the command-line argument is present:

Read more…
create_markdown_table create-markdown-table.F90

This program demonstrates the creation of a Markdown table summarzing kind values used by a compiler:

Read more…
get_command_line_flag_value get-command-line-flag-value.f90

This program demonstrates how to find the value of a command-line flag. Running this program as follows should print 'foo=bar' without quotes:

Read more…