dm_tty_parity_from_name Function

public function dm_tty_parity_from_name(name, error) result(parity)

Returns parity from character string (none, even, odd). If the parity is not recognised, returns 0 by default and sets optional argument error to E_INVALID.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: name

Parity name.

integer, intent(out), optional :: error

Error code.

Return Value integer


Calls

proc~~dm_tty_parity_from_name~~CallsGraph proc~dm_tty_parity_from_name dm_tty_parity_from_name interface~dm_to_lower dm_to_lower proc~dm_tty_parity_from_name->interface~dm_to_lower proc~dm_string_to_lower dm_string_to_lower interface~dm_to_lower->proc~dm_string_to_lower