Robert,
thanks for the update to the let statement and the addition of the copy to the context menu. I have downloaded this new version (8.30.3) from the web link you mentioned above. Using the let command I could set variable idum8 to 1 as expected.
However, command
let idum8 = 2147483648
still does not work in my opinion. This command results in
idum8: -2147483648
which I think is not correct.
Note: 2147483648 equals 2**31 which is 1 more than MAX_INT (2147483647). For variable idum (which is of type INTEGER*4) this result is ok and it is shown by sdbg64 for idum after having executed the let statement:
idum: -2147483648
However, idum8 is of type INTEGER*8 !!!
I changed the original test programme to sdbg_test1.for:
integer*4 idum
integer*8 idum8,idum88
idum=2147483647
idum8=2147483647_4
idum88=2147483648
write(*,*) 'idum=',idum
write(*,*) 'idum8=',idum8
write(*,*) 'idum88=',idum88
idum8=idum8+1
write(*,*) 'idum8=',idum8
end
and compiled it using command
ftn95 sdbg_problem1.for /debug /64 /link
Executing sdbg_problem1.exe resulted in output lines
idum= 2147483647
idum8= 2147483647
idum88= 2147483648
idum8= 2147483648
This shows that idum8 and idum88 work in the code and executable as expected.
Moreover: the ftn95 command mentioned above resulted in
WARNING - Constant is out of range for INTEGER(KIND=3) - has been promoted to
INTEGER(KIND=4)
Finally I tried using assignment
idum8=2147483647_8
which however resulted in
*** Invalid KIND specifier
0006) idum88=2147483648
WARNING - Constant is out of range for INTEGER(KIND=3) - has been promoted to
INTEGER(KIND=4)
1 ERROR, 1 WARNING [<main program> FTN95 v8.30.0]
*** Compilation failed
I wonder if sdbg64 still has a problem here.
Regards,
Dietmar