View previous topic :: View next topic |
Author |
Message |
StamK
Joined: 12 Oct 2016 Posts: 159
|
Posted: Tue Jan 14, 2020 10:24 pm Post subject: Clicking on variable next to relational operator fails |
|
|
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 |
|
|
StamK
Joined: 12 Oct 2016 Posts: 159
|
Posted: Tue Jan 14, 2020 10:52 pm Post subject: |
|
|
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 |
|
|
Robert
Joined: 29 Nov 2006 Posts: 445 Location: Manchester
|
Posted: Wed Jan 15, 2020 10:19 am Post subject: |
|
|
The hovering issue is fixed in 8.60. The right-click crashing is something I haven't seen before now. |
|
Back to top |
|
|
|