Parse a string_type into a 32 bit integer.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(string_type), | intent(in) | :: | str | |||
| integer(kind=int32), | intent(out) | :: | value | |||
| type(error_t), | intent(out) | :: | err |
pure subroutine parse_int_int32_string(str, value, err) !! Parse a `string_type` into a 32 bit integer. type(string_type), intent(in) :: str integer(int32), intent(out) :: value type(error_t), intent(out) :: err call parse_int_int32_char(char(str), value, err) end subroutine parse_int_int32_string