Created
February 23, 2010 01:57
-
-
Save natebenes/311758 to your computer and use it in GitHub Desktop.
IOSTAT Property
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INTEGER :: readErr, myVar | |
! some code | |
READ (*,*,IOSTAT=readErr) myVar | |
IF (readErr /= 0) THEN | |
! They are stupid, make them do it again | |
ELSE | |
! User did their job | |
END IF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment