forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Error 1222

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> 64-bit
View previous topic :: View next topic  
Author Message
Kenneth_Smith



Joined: 18 May 2012
Posts: 697
Location: Hamilton, Lanarkshire, Scotland.

PostPosted: Sat Nov 04, 2017 4:30 pm    Post subject: Error 1222 Reply with quote

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
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7912
Location: Salford, UK

PostPosted: Sat Nov 04, 2017 7:10 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7912
Location: Salford, UK

PostPosted: Mon Nov 06, 2017 10:22 am    Post subject: Reply with quote

This bug has now been fixed for the next release of FTN95.
Back to top
View user's profile Send private message AIM Address
Kenneth_Smith



Joined: 18 May 2012
Posts: 697
Location: Hamilton, Lanarkshire, Scotland.

PostPosted: Mon Nov 06, 2017 1:40 pm    Post subject: Reply with quote

Thanks Paul,

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

Ken
Back to top
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7912
Location: Salford, UK

PostPosted: Mon Nov 06, 2017 2:57 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
Kenneth_Smith



Joined: 18 May 2012
Posts: 697
Location: Hamilton, Lanarkshire, Scotland.

PostPosted: Mon Nov 06, 2017 7:40 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> 64-bit All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group