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 

FTN95 Initialization expression Refused

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





PostPosted: Thu Aug 18, 2005 8:18 am    Post subject: FTN95 Initialization expression Refused Reply with quote

Shouldn't the following declaration be accepted by the compiler :


D:FortranTest>ftn95 tc2-err.f95 /lgo
[FTN95/Win32 Ver. 4.8.0 Copyright (C) Salford Software Ltd 1993-2005]
PROCESSING MODULE [<TRANSF_M> FTN95/Win32 v4.8.0]
[pre]
0034) character(len=*), dimension(0:15), parameter :: d = &
0035) ! & (/"0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f" /)
0036) & (/ (char(i),i=48,57), (char(i),i=97,102) /)
[/pre]
*** I is not a PARAMETER, so cannot appear in an initialisation expression


1 ERROR [tc2-err.F95] - Compilation failed.


Jan van Oosterwijk
jan dot vanoosterwijk at wanadoo dot nl
Back to top
PaulLaidler
Site Admin


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

PostPosted: Mon Aug 22, 2005 3:21 am    Post subject: FTN95 Initialization expression Refused Reply with quote

Yes this is a bug.
I have logged it with reference number 2206.

Thanks

Paul
Back to top
View user's profile Send private message AIM Address
PaulLaidler
Site Admin


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

PostPosted: Tue Aug 23, 2005 12:58 pm    Post subject: FTN95 Initialization expression Refused Reply with quote

This bug has now been fixed.
Back to top
View user's profile Send private message AIM Address
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