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 

Unexpected subscript out of bounds error
Goto page Previous  1, 2
 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
PaulLaidler
Site Admin


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

PostPosted: Wed Sep 01, 2021 12:35 pm    Post subject: Reply with quote

In the next release of FTN95 the following code will run successfully...

Code:
!FTN95$OPTIONS(CHECK)
program subbug
integer, parameter :: ndim=20, nrp1=11
integer iwksp(100)
iwksp = 0
call vaddp(ndim, iwksp(ndim+nrp1))
end program

!FTN95$OPTIONS(INHIBIT_CHECK 20)
subroutine vaddp(ndimi, ja)
integer ndimi, ja(ndimi,*)
i = ja(1,4)
print *, i
end subroutine


Also the following (with a minus) will switch check 20 back on...

Code:
!FTN95$OPTIONS(-INHIBIT_CHECK 20)
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
Goto page Previous  1, 2
Page 2 of 2

 
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