Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Re: Stack overflow problem but increasing stack size does not solve
On 26 jan, 08:55, nure...@gmail.com wrote:
> On Jan 26, 1:43 am, Ravindra Vidhate <ravividh...@gmail.com> wrote:
> 
> 
>
> Sorry, I pasted the wrong version. Problem exists with the following
> code too.
>
> file1:
> PROGRAM MAIN
>         DOUBLE PRECISION a(65,2001)
>         CALL ROUTINE1(a)
> END PROGRAM
>
> file2:
> SUBROUTINE ROUTINE1(a)
>         DOUBLE PRECISION a(65,2001)
>         RETURN
> END SUBROUTINE

In this second version, there is nothing wrong. It should work with
any stack size ... and any FORTRAN commpiler.

Are you sure it does not work ?

Of course, your first example was clearly wrong ... with any stack and
any FORTRAN compiler. Full recursivity without stop test cannot work !

Report this thread to moderator Post Follow-up to this message
Old Post
fj
01-26-08 01:17 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Fortran archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 03:04 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.