- Jul 29, 2001
- 27,703
- 12
- 81
So I'm reading in some real*8 numbers from stdin and want to make sure the user is actually putting in numbers and not letters. How do I check the datatype easily? Is there an intrinsic function that does something like:
if( TYPE(inputdata) .eq. real*8 ) then
yay!
What's the best way to do this?
if( TYPE(inputdata) .eq. real*8 ) then
yay!
What's the best way to do this?