|
◆ soptio_b()
elemental subroutine, public optional_values::soptio_b |
( |
integer(kind=int_b), intent(in), optional |
var, |
|
|
integer(kind=int_b), intent(out) |
optio_b |
|
) |
| |
Set the output value to input, if input is present, otherwise set it to missing value.
- Parametri
-
[in] | var | variable to be checked |
[out] | optio_b | equal to var if present, otherwise equal to the corresponding missing value |
Definizione alla linea 155 del file optional_values.f90.
156 INTEGER(kind=int_b), INTENT(in), OPTIONAL :: var
157 INTEGER(kind=int_b), INTENT(out) :: optio_b
159 if ( present(var)) then
|