return command line argument information
result is .true. only if a command-line argument matches an element of this function's argument
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | acceptable_argument(:) |
sample list: [character(len=len( |
result = { the value passed immediately after a command-line flag if the flag is present or { an empty string otherwise.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | flag |
same as character_argument_present but allowing ragged-edged array of character values
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(string_t), | intent(in) | :: | acceptable_argument(:) |
same as character_flag_value but accepting a string_t dummy argument
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(string_t), | intent(in) | :: | flag |
| generic, public :: argument_present => character_argument_present, string_argument_present | |
| procedure, public, nopass :: character_argument_present | |
| procedure, public, nopass :: character_flag_value | |
| generic, public :: flag_value => character_flag_value, string_flag_value | |
| procedure, public, nopass :: string_argument_present | |
| procedure, public, nopass :: string_flag_value |