Closed rajkumardongre closed 1 year ago
Should I assume that when I use the write(stderr, *) "error message"
statement to display an error message, I also need to include an error stop 1
statement to stop the program execution when the error occurs?
Yes, when you write(stderr, *) "error message"
, it merely prints it to standard error stream, but the program can still complete with a 0 status, so we need error stop 1
.
Thanks @milancurcic, i have made the required changes