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 

Clicking on variable next to relational operator fails

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> 64-bit
View previous topic :: View next topic  
Author Message
StamK



Joined: 12 Oct 2016
Posts: 159

PostPosted: Tue Jan 14, 2020 10:24 pm    Post subject: Clicking on variable next to relational operator fails Reply with quote

This happens if one of the two variables is an array.
Use the simple program below
Code:

!ftn95$free
program main
integer i(10),j,k
i= 1
j=2
index = 5
k=0
if (i(index).eq.j) k=1
end program

and try to click near the j (of .eq.j).
You will receive an error with a window title .eq.j and description "Syntax error". It works fine in 32 bit.
Back to top
View user's profile Send private message
StamK



Joined: 12 Oct 2016
Posts: 159

PostPosted: Tue Jan 14, 2020 10:52 pm    Post subject: Reply with quote

Wanted to add, you can of course highlight with the mouse the desired variable or comparison, but it is rather cumbersome.
By the way, if you highlight the whole i(index).eq.j then the debugger gives the right value but after a few tries it crashes!
Here is a new code that shows the various issues:
Code:

!ftn95$free
program main
integer i(10),j,k
i= 1
j=2
index = 5
k=0
if (i(index).eq.j) k=1 
!32bit
!hovering near j shows value of j
!clicking on j shows value of j
!highlighting i(index).eq.i gives error "structure expected"
!64bit
!hovering over j nothing happens
!clicking on j gives .eq.j  syntax error
!highlighting i(index).eq.i gives correct value (false) but after some tries it will crash

if (i(2).eq.j) k=1
!32bit
!hovering near j shows value of j
!clicking on j shows value of j
!highlighting i(2).eq.i  gives error "structure expected"
!64bit
!hovering over j nothing happens
!clicking on j gives .eq.j. syntax error
!highlighting i(2).eq.i   gives correct value (false) but after some tries it will crash

if (k.eq.j) k=1
!32bit
!hovering near j shows value of j
!clicking on j shows value of j
!highlighting k.eq.j gives error "structure expected"
!64bit
!hovering over j shows value of k.eq.j
!clicking and highlighting work fine (apart from the crashing after a few tries)
end program
Back to top
View user's profile Send private message
Robert



Joined: 29 Nov 2006
Posts: 444
Location: Manchester

PostPosted: Wed Jan 15, 2020 10:19 am    Post subject: Reply with quote

The hovering issue is fixed in 8.60. The right-click crashing is something I haven't seen before now.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> 64-bit 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