Converts hexadecimal number to integer.
Returns hexadecimal value as 4-byte integer. The input string must
start with 0x or 0X. The routine returns the following error
codes in error:
E_FORMAT if string is not in expected format.E_INVALID if string does not start with 0x.| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | string |
Hex. string of value. |
||
| integer(kind=i4), | intent(out) | :: | value |
Value. |
||
| integer, | intent(out), | optional | :: | error |
Error. |
Returns hexadecimal value as 8-byte integer. The input string must
start with 0x or 0X. The routine returns the following error
codes in error:
E_FORMAT if string is not in expected format.E_INVALID if string does not start with 0x.| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | string |
Hex. string of value. |
||
| integer(kind=i8), | intent(out) | :: | value |
Value. |
||
| integer, | intent(out), | optional | :: | error |
Error. |