Parse a character string into a 64 bit integer.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | str | |||
| integer(kind=int64), | intent(out) | :: | value |
Fixed width on purpose: this is the widest integer the parser accumulates in, and the narrower specific procedure range checks against it. |
||
| type(error_t), | intent(out) | :: | err |
pure subroutine parse_int_int64_char(str, value, err) !! Parse a character string into a 64 bit integer. character(len=*), intent(in) :: str integer(int64), intent(out) :: value !! Fixed width on purpose: this is the widest integer the parser !! accumulates in, and the narrower specific procedure range checks !! against it. type(error_t), intent(out) :: err call parse_integer_wide(str, value, err) end subroutine parse_int_int64_char