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 

Character assignment

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
Thomas



Joined: 18 Feb 2005
Posts: 56
Location: Gummersbach, Germany

PostPosted: Mon Mar 28, 2011 7:59 am    Post subject: Character assignment Reply with quote

Please find below the short version of a program with an incorrect character assignment:

program testchar
Implicit None
Character (len=3), External :: WTPB03
Character (len=3) :: xxx

Type WTPROG_TA
Character (len=3) :: BZ(40)
End Type WTPROG_TA
Type (WTPROG_TA) :: TAAKT

TAAKT%BZ(1) = 'abc'
write (*,*) TAAKT%BZ(1)

! WTPB03 will not be called; '€€€' is assigned to BZ instead of 'xyz'
TAAKT%BZ(1) = WTPB03 ()
write (*,*) TAAKT%BZ(1)

! WTPB03 will be called; correct assignment to BZ
xxx = WTPB03 ()
TAAKT%BZ(1) = xxx
write (*,*) TAAKT%BZ(1)

end program

Function WTPB03 ()
Implicit None
Character (len=3) :: WTPB03
WTPB03 = 'xyz'
END

I'm using version 6.00 of FTN95.
_________________
Thomas
Back to top
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


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

PostPosted: Mon Mar 28, 2011 8:43 am    Post subject: Reply with quote

Yes ths looks like fault in the compiler that we need to fix.
Back to top
View user's profile Send private message AIM Address
Thomas



Joined: 18 Feb 2005
Posts: 56
Location: Gummersbach, Germany

PostPosted: Wed Apr 06, 2011 8:02 am    Post subject: FTN95 version prospect Reply with quote

Menwhile I installed version 6.10 of FTN95. A previous problem (mouse hover with SDBG) is solved now. But the character assignment ist still pending.

When do you expect to issue a FTN95 version with correct assignment?
_________________
Thomas
Back to top
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


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

PostPosted: Wed Apr 06, 2011 8:27 am    Post subject: Reply with quote

I will aim to have this fixed for the next release.
If you look back to the announcements in this forum you will get an impression of how frequently new releases appear.
Back to top
View user's profile Send private message AIM Address
Thomas



Joined: 18 Feb 2005
Posts: 56
Location: Gummersbach, Germany

PostPosted: Fri Nov 14, 2014 6:45 pm    Post subject: Fault in Character assignment: Successfully sorted Reply with quote

Paul,
I did not follow the progress for a longer period. Today I found the problem with faulty character assignment solved.

Thanks!

Thomas
_________________
Thomas
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 -> Support 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