View previous topic :: View next topic |
Author |
Message |
DietmarSiepmann
Joined: 03 Jun 2013 Posts: 279
|
Posted: Fri Jul 06, 2018 1:14 pm Post subject: 64-bit app does not display undef runtime error |
|
|
Following code (named myundef.for) contains an undefined INTEGER(7) variable and has been compiled/linked as a 32 and 64 bit binary using the /undef option. Executing the 32 bit binary results in a runtime error (as expected), however, executing the 64 bit binary does not!
Code: |
subroutine mysr(myhandle)
INTEGER(7) myhandle
INCLUDE <WINDOWS.INS>
A=SETFOCUS(myhandle)
end
INTEGER(7) myhandle0
call mysr(myhandle0)
end
|
Code generation calls:
Code: |
ftn95 myundef.for /undef /link
ftn95 myundef.for /undef /link /64
|
ftn95 version info: [FTN95/x64 Ver. 8.30.0 Copyright (c) Silverfrost Ltd 1993-2018]
Regards,
Dietmar |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7929 Location: Salford, UK
|
Posted: Fri Jul 06, 2018 3:19 pm Post subject: |
|
|
Thanks Dietmar. This omission has been rectified for the next release of FTN95. |
|
Back to top |
|
|
|