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 |