returns the optional value, if present, or the default.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| logical, | optional | :: | value | the optional value to check for |
||
| logical | :: | default | the default to use when the optional value is not present. |
the result
returns the optional value, if present, or the default.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | optional | :: | value | the optional value to check for |
||
| integer | :: | default | the default to use when the optional value is not present. |
the result
returns the optional value, if present, or the default.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=long_k), | optional | :: | value | the optional value to check for |
||
| integer(kind=long_k) | :: | default | the default to use when the optional value is not present. |
the result
returns the optional value, if present, or the default.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=rk), | optional | :: | value | the optional value to check for |
||
| real(kind=rk) | :: | default | the default to use when the optional value is not present. |
the result
returns the optional value, if present, or the default.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character, | optional | :: | value | the optional value to check for |
||
| character | :: | default | the default to use when the optional value is not present. |
the result