Silverfrost Forums

Welcome to our forums

Error 1222

4 Nov 2017 3:30 #20661

The following code compiles OK with 32 bit checkmate, 32 bit release, and 64 bit release.

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:

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.

4 Nov 2017 6:10 #20662

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.

6 Nov 2017 9:22 #20673

This bug has now been fixed for the next release of FTN95.

6 Nov 2017 12:40 #20674

Thanks Paul,

/INHIBIT_CHECK 17 allowed me to get another of my applications running under 64 bit.

Ken

6 Nov 2017 1:57 #20675

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.

6 Nov 2017 6:40 #20679

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

Please login to reply.