logical_to_integer Function

public pure function logical_to_integer(login)

Returns 1 if input = true, otherwise 0

Arguments

Type IntentOptional Attributes Name
logical, intent(in) :: login

Logical to be converted to integer

Return Value integer


Contents