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.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | name |
Parity name. |
||
| integer, | intent(out), | optional | :: | error |
Error code. |