Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Try-Catch and Documentation?

reneeculver
Beginner
679 Views
Does Ifort have an equivalent to a try-catch statement?

And due to a bad backup I'm back on the trial... Where is the Documentation?

Renee
0 Kudos
5 Replies
Steven_L_Intel1
Employee
679 Views
No, Fortran has no structured exception handling.

The documentation is most easily accessed from within Visual Studio > Help > Intel Visual Fortran Composer XE 2011. Do not click on the big "Start Here" - instead, click on the + next to Intel Visual Fortran Composer XE 2011 and all the documentation will be there.
0 Kudos
reneeculver
Beginner
679 Views
I've been clicking on the "Start Here" and the meager results have been dissapointing.

Thank you.

Renee
0 Kudos
reneeculver
Beginner
679 Views
I think I used to use err= in an open statement...

Is that still it?

Renee
0 Kudos
Steven_L_Intel1
Employee
679 Views
That's why I said to NOT click on "Start Here".

The Language Reference section will help you with Fortran language questions. Yes, ERR=label is what you use in I/O statements to jump if there is an error, though IOSTAT= is considered a more modern way of checking for I/O errors.
0 Kudos
reneeculver
Beginner
679 Views

I know. I was acknowledging that/you.

Renee

0 Kudos
Reply