View previous topic :: View next topic |
Author |
Message |
Kenneth_Smith
Joined: 18 May 2012 Posts: 697 Location: Hamilton, Lanarkshire, Scotland.
|
Posted: Sat Nov 04, 2017 4:30 pm Post subject: Error 1222 |
|
|
The following code compiles OK with 32 bit checkmate, 32 bit release, and 64 bit release.
Code: | program main
include<windows.ins>
i = winio@('%nl%ws','Base speed is taken as synchronous speed calculated from frequency and number of poles.')
end |
However, 64 checkmate returns the following error:
Quote: | C:\Users\KSS\Documents\problem.F95(3) : error 1222 - f poles." |
Can somebody tell me that this error means? If I shorten the string the problem goes away. |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7925 Location: Salford, UK
|
Posted: Sat Nov 04, 2017 7:10 pm Post subject: |
|
|
Basically it is just a bug in 64 bit CHECK mode.
As a work-around you could remove winio@ argument checking from the checking options by adding
/INHIBIT_CHECK 17
to the command line. |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7925 Location: Salford, UK
|
Posted: Mon Nov 06, 2017 10:22 am Post subject: |
|
|
This bug has now been fixed for the next release of FTN95. |
|
Back to top |
|
|
Kenneth_Smith
Joined: 18 May 2012 Posts: 697 Location: Hamilton, Lanarkshire, Scotland.
|
Posted: Mon Nov 06, 2017 1:40 pm Post subject: |
|
|
Thanks Paul,
/INHIBIT_CHECK 17 allowed me to get another of my applications running
under 64 bit.
Ken |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7925 Location: Salford, UK
|
Posted: Mon Nov 06, 2017 2:57 pm Post subject: |
|
|
Ken
Is it the same failure (a %ws string with more than 80 characters)?
If not then could you post some code so that it can be fixed. |
|
Back to top |
|
|
Kenneth_Smith
Joined: 18 May 2012 Posts: 697 Location: Hamilton, Lanarkshire, Scotland.
|
Posted: Mon Nov 06, 2017 7:40 pm Post subject: |
|
|
Apologies Paul,
A slightly misleading comment on my part. There were no other problems with my original code, but lots of long %ws strings, which form part of the help pages. By commenting them out I don't need /INHIBIT_CHECK 17 to get the code running.
Ken |
|
Back to top |
|
|
|