optval_integer Function

public function optval_integer(val, default)

Uses

    • stdlib_optval

Set a value to a default if it is not defined

Arguments

Type IntentOptional Attributes Name
integer, intent(inout), optional :: val
integer, intent(in) :: default

Return Value integer