Silverfrost Forums

Welcome to our forums

Where

23 Jul 2021 9:36 #28112

In version 8.80 I am getting a new error message that was not being issued in previous versions. The message is:

error 1264 - The compiler can't process vector subscripts within a WHERE construct

The code at the line in question is:

Where (a(iarray(i),:,k) == b) a(iarray(i),:,k) = c

Rather than writing out all the declarations, you can assume that Implicit None has been used, and that everything is a scalar except for a, and iarray.

I can confirm that replacing the above with the code below resolves the problem, but it would be nice not to have to go and apply patches.

j = iarray(i)
Where (a(j,:,k) == b) v(j,:,k) = c

If the above examples are insufficient, I will attempt to provide more complete code that reproduces the problem, but hopefully the above is sufficient for now.

24 Jul 2021 6:42 #28115

Simon

This error report has been added pending a fix for the correspnding failure. Unfortunately the report is false in this case.

I think that you will find that you can ignore it by adding /ignore 1264 to the FTN95 command line.

24 Jul 2021 8:39 #28119

Yes, adding that ignore option works. Thank you.

Please login to reply.