Re: double confusion
- From: "Julian Bessenroth" <jbusenet@xxxxxx>
- Date: 17 Jul 2006 05:55:13 -0700
Ian Bush schrieb:
How is it different from C ?
If the subprogram and the main program were in different files and compiled
separately how could you ensure that the main program knows what return
type the function has ?
But these declaration are located onlz _once_ at the begining of the
file (before the main routine starts). Fortran requires its
declarations "within the main routine" and within every
subroutine/function where i'm going to use the this function, and what
confuses me somewhat more, that it's just required for double
precision, but not for integer or real ...
regards
Julian
.
- Follow-Ups:
- Re: double confusion
- From: Ian Bush
- Re: double confusion
- From: Gordon Sande
- Re: double confusion
- References:
- double confusion
- From: Julian Bessenroth
- Re: double confusion
- From: michael
- Re: double confusion
- From: Julian Bessenroth
- Re: double confusion
- From: Ian Bush
- double confusion
- Prev by Date: Re: double confusion
- Next by Date: Re: writing output listing onto screen (or not) and onto file
- Previous by thread: Re: double confusion
- Next by thread: Re: double confusion
- Index(es):
Relevant Pages
|