replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - Stack overflow problem
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 

Stack overflow problem
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
Mendo910603



Joined: 06 May 2014
Posts: 7

PostPosted: Wed May 21, 2014 4:19 am    Post subject: Reply with quote

Yes, "n" can be other than 4, but I'm using that value because I'm introducing 4 differential equations.
Back to top
View user's profile Send private message
JohnCampbell



Joined: 16 Feb 2006
Posts: 2621
Location: Sydney

PostPosted: Wed May 21, 2014 4:37 am    Post subject: Reply with quote

Then if n can be different to 4, and in any case; you need to be consistent with the way you handle the declarations for the arrays you are using.

If you declare an array as dimension(:), then you need an interface for this routine, where it is being called, to provide the dimension. If you are consistent in the way you manage dimension(:) it will work ok.

However, if you declare an array as dimension(n), then you should preferably provide the n as an argument, or via other means. This is a simpler approach.

John
Back to top
View user's profile Send private message
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