get one option value or string from ARG The first chracter of ARG%option(i) should be + or -. That's why it is taken by ARG%option(i)(2:).
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(argument), | intent(in) | :: | arg | |||
character(len=*), | intent(in) | :: | option_name | |||
character(len=*), | intent(out) | :: | string |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(argument), | intent(in) | :: | arg | |||
character(len=*), | intent(in) | :: | option_name | |||
real(kind=long), | intent(out) | :: | value | |||
real(kind=long), | intent(out), | optional | :: | value2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(argument), | intent(in) | :: | arg | |||
character(len=*), | intent(in) | :: | option_name | |||
integer, | intent(out) | :: | value | |||
integer, | intent(out), | optional | :: | value2 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(argument), | intent(in) | :: | arg | |||
character(len=*), | intent(in) | :: | option_name | |||
logical, | intent(inout) | :: | yes |