Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(kind=CK,len=*), | intent(in) | :: | str | the string to check. |
is str a value 4-digit hex string
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer(kind=IK), | public | :: | n | length of |
|||
integer(kind=IK), | public | :: | i | counter |
|||
character(kind=CK,len=1), | public, | parameter, dimension(22) | :: | valid_chars | = | [(achar(i), i=48, 57), (achar(i), i=65, 70), (achar(i), i=97, 102)] | an array of the valid hex characters |