libsim  Versione7.2.6

◆ optio_i()

elemental integer(kind=int_l) function, public optional_values::optio_i ( integer(kind=int_l), intent(in), optional  var)

Return the optional value if present, otherwise return missing value.

Parametri
[in]varvariable to be checked

Definizione alla linea 76 del file optional_values.f90.

76 INTEGER(kind=int_l),INTENT(in),OPTIONAL :: var
77 
78 if (present(var))then
79  optio_i=var
80 else
81  optio_i=imiss
82 end if
83 

Generated with Doxygen.