libsim  Versione7.2.6

◆ optio_s()

elemental integer(kind=int_s) function, public optional_values::optio_s ( integer(kind=int_s), intent(in), optional  var)

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

Parametri
[in]varvariable to be checked

Definizione alla linea 64 del file optional_values.f90.

64 INTEGER(kind=int_s),INTENT(in),OPTIONAL :: var
65 
66 if (present(var))then
67  optio_s=var
68 else
69  optio_s=ismiss
70 end if
71 

Generated with Doxygen.