Quantcast
Channel: Fortran
Viewing all articles
Browse latest Browse all 3108

IOSTAT error or improper interpretation

$
0
0
character*100::str

real*8::num

str=11-30

read(str,*,iostat=ior)num

!------------ after run :----------------------
! no error report can be found since ior is 0 and num is interpreted as 11.0E-30 which seems weird.

 


Viewing all articles
Browse latest Browse all 3108

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>