Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Does not throw an error in IFORT

JohnNichols
Valued Contributor III
678 Views
else if(J .gt. (yshift + spy + 20 + spy2) .and. j .lt. (yshift+ spy + 25 +  + spy2)) then

Note double + + 

it should throw an error 

0 Kudos
1 Solution
OP1
New Contributor III
658 Views

This seems perfectly fine, the second "+" is just interpreted as a unary operator.

View solution in original post

1 Reply
OP1
New Contributor III
659 Views

This seems perfectly fine, the second "+" is just interpreted as a unary operator.

Reply