pInt missing
This commit is contained in:
parent
427b5f4bc1
commit
580bb76b4c
12
code/IO.f90
12
code/IO.f90
|
@ -1848,12 +1848,12 @@ integer(pInt) function IO_verifyIntValue (string,validChars,myName)
|
||||||
if (invalidWhere == 0_pInt) then
|
if (invalidWhere == 0_pInt) then
|
||||||
read(UNIT=string,iostat=readStatus,FMT=*) IO_verifyIntValue ! no offending chars found
|
read(UNIT=string,iostat=readStatus,FMT=*) IO_verifyIntValue ! no offending chars found
|
||||||
if (readStatus /= 0_pInt) & ! error during string to float conversion
|
if (readStatus /= 0_pInt) & ! error during string to float conversion
|
||||||
call IO_warning(203,ext_msg=myName//'"'//string//'"')
|
call IO_warning(203_pInt,ext_msg=myName//'"'//string//'"')
|
||||||
else
|
else
|
||||||
call IO_warning(202,ext_msg=myName//'"'//string//'"') ! complain about offending characters
|
call IO_warning(202_pInt,ext_msg=myName//'"'//string//'"') ! complain about offending characters
|
||||||
read(UNIT=string(1_pInt:invalidWhere-1_pInt),iostat=readStatus,FMT=*) IO_verifyIntValue ! interpret remaining string
|
read(UNIT=string(1_pInt:invalidWhere-1_pInt),iostat=readStatus,FMT=*) IO_verifyIntValue ! interpret remaining string
|
||||||
if (readStatus /= 0_pInt) & ! error during string to float conversion
|
if (readStatus /= 0_pInt) & ! error during string to float conversion
|
||||||
call IO_warning(203,ext_msg=myName//'"'//string(1_pInt:invalidWhere-1_pInt)//'"')
|
call IO_warning(203_pInt,ext_msg=myName//'"'//string(1_pInt:invalidWhere-1_pInt)//'"')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
end function IO_verifyIntValue
|
end function IO_verifyIntValue
|
||||||
|
@ -1878,12 +1878,12 @@ real(pReal) function IO_verifyFloatValue (string,validChars,myName)
|
||||||
if (invalidWhere == 0_pInt) then
|
if (invalidWhere == 0_pInt) then
|
||||||
read(UNIT=string,iostat=readStatus,FMT=*) IO_verifyFloatValue ! no offending chars found
|
read(UNIT=string,iostat=readStatus,FMT=*) IO_verifyFloatValue ! no offending chars found
|
||||||
if (readStatus /= 0_pInt) & ! error during string to float conversion
|
if (readStatus /= 0_pInt) & ! error during string to float conversion
|
||||||
call IO_warning(203,ext_msg=myName//'"'//string//'"')
|
call IO_warning(203_pInt,ext_msg=myName//'"'//string//'"')
|
||||||
else
|
else
|
||||||
call IO_warning(202,ext_msg=myName//'"'//string//'"') ! complain about offending characters
|
call IO_warning(202_pInt,ext_msg=myName//'"'//string//'"') ! complain about offending characters
|
||||||
read(UNIT=string(1_pInt:invalidWhere-1_pInt),iostat=readStatus,FMT=*) IO_verifyFloatValue ! interpret remaining string
|
read(UNIT=string(1_pInt:invalidWhere-1_pInt),iostat=readStatus,FMT=*) IO_verifyFloatValue ! interpret remaining string
|
||||||
if (readStatus /= 0_pInt) & ! error during string to float conversion
|
if (readStatus /= 0_pInt) & ! error during string to float conversion
|
||||||
call IO_warning(203,ext_msg=myName//'"'//string(1_pInt:invalidWhere-1_pInt)//'"')
|
call IO_warning(203_pInt,ext_msg=myName//'"'//string(1_pInt:invalidWhere-1_pInt)//'"')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
end function IO_verifyFloatValue
|
end function IO_verifyFloatValue
|
||||||
|
|
Loading…
Reference in New Issue