Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=1) | :: | eqChar |
logical function IsNumber(eqChar)
character(1) :: eqChar
! Local
integer :: i
IsNumber = .false.
if(eqChar == '.' .or. eqChar == 'p' .or. eqChar == 'P') then
IsNumber = .true.
return
endif
do i = 1,10
if(eqChar == numbers(i)) then
IsNumber = .true.
return
endif
enddo
endfunction IsNumber