Software Archive
Read-only legacy content
17061 Discussions

Syntax error <> vs .NE.

larryscheier
Beginner
342 Views
I just upgraded from DVF 6.1 to 6.5. I installed visual studio SP4 prior to installing DVF 6.5. For some reason the compiler thinks that all occurences of <> are invalid syntax and the only way for the compile to work is to change these to .NE.

Why should this be necessary?

Thanks,

Larry Scheier
SEI Associates
yohda@aol.com
0 Kudos
1 Reply
Steven_L_Intel1
Employee
342 Views
Because they ARE invalid syntax. The correct operator in Fortran is /= (or .NE.) We fixed a bug where <> was accepted - why it was in there in the first place, we don't know!

Steve
0 Kudos
Reply