argument_present Module Procedure

module procedure argument_present module function argument_present(acceptable_argument) result(found)

list of acceptable arguments sample list: [character(len=len(longest_argument)):: "--benchmark", "-b", "/benchmark", "/b"] where dashes support Linux/macOS and slashes support Windows

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: acceptable_argument(:)

sample list: [character(len=len()):: "--benchmark", "-b", "/benchmark", "/b"] where dashes support Linux/macOS, slashes support Windows, and must be replaced by the longest list element ("--benchmark" above)

Return Value logical


Calls

proc~~argument_present~~CallsGraph proc~argument_present argument_present [] [] proc~argument_present->[]