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 5.20 warning statement not executed

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



Joined: 16 Feb 2006
Posts: 2554
Location: Sydney

PostPosted: Mon Mar 31, 2008 1:03 am    Post subject: ftn95 5.20 warning statement not executed Reply with quote

Paul,

the following code gives a warning 133 at the end of the DO loop if compiled with /debug or /check

regards John

! Last change: JDC 31 Mar 2008 10:55 am
subroutine read_historical_vessels
!
character line*140
integer*4 eof
!
! Read berth names
call open_file (11, 'historical_vessel_data.prn')
!
do
call rdline (11, line, eof)
!
if (eof < 0) exit
if (eof < 1) cycle
select case (line(1:10))

case ('$CARGOS')
call read_historical_cargoes

case ('$BERTHS')
call read_historical_berths

case ('$END')
exit

case default
write ( *,*) ' Unrecognised :',trim(line)
write (98,*) ' Unrecognised :',trim(line)
end select

end do
!
call report_historical_vessels (1)
call report_historical_vessels (97)
call report_historical_vessels (9Cool
!
end subroutine read_historical_vessels

[FTN95/Win32 Ver. 5.20.0 Copyright (c) Silverfrost Ltd 1993-2008]

0033) call report_historical_vessels (1)
WARNING - 133: This statement will never be executed
NO ERRORS, 1 WARNING [<READ_HISTORICAL_VESSELS> FTN95/Win32 v5.20.0]
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


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

PostPosted: Mon Mar 31, 2008 3:52 pm    Post subject: Reply with quote

Thank you for the report.
We have fixed the regression and this will be included in the next release.
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