tem_getoptvalordef_int Function

private function tem_getoptvalordef_int(value, default) result(res)

returns the optional value, if present, or the default.

this convenience routine encapsulates the check for an optional argument.

Arguments

Type IntentOptional Attributes Name
integer, optional :: value

the optional value to check for

integer :: default

the default to use when the optional value is not present.

Return Value integer

the result


Called by

proc~~tem_getoptvalordef_int~~CalledByGraph proc~tem_getoptvalordef_int tem_getoptvalordef_int interface~tem_getoptvalordef tem_getOptValOrDef interface~tem_getoptvalordef->proc~tem_getoptvalordef_int