Silverfrost Forums

Welcome to our forums

Clicking on variable next to relational operator fails

14 Jan 2020 9:24 #24861

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

!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.

14 Jan 2020 9:52 #24862

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:

!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
15 Jan 2020 9:19 #24867

The hovering issue is fixed in 8.60. The right-click crashing is something I haven't seen before now.

Please login to reply.