forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Where

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
simon



Joined: 05 Jul 2006
Posts: 196

PostPosted: Fri Jul 23, 2021 10:36 pm    Post subject: Where Reply with quote

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

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


The code at the line in question is:

Code:
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.

Code:
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.
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7142
Location: Salford, UK

PostPosted: Sat Jul 24, 2021 7:42 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message AIM Address
simon



Joined: 05 Jul 2006
Posts: 196

PostPosted: Sat Jul 24, 2021 9:39 pm    Post subject: Reply with quote

Yes, adding that ignore option works. Thank you.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group