Re: Is it possible to end the outermost function from an inner function?



Response to "C. (http://symcbean.blogspot.com/)"
<colin.mckinnon@xxxxxxxxx>:

<snip>

Certainly, the right way to do it is by returning an appropriate
value (or returning and setting and setting a pass-by-reference
parameter). You can have multiple return statements in a
function.

Would mind giving me an example? I'm having a difficult time
understanding what you mean.

Thank you!

--
-Lost
Remove the extra words to reply by e-mail. Don't e-mail me. I am
kidding. No I am not.
.



Relevant Pages

  • Re: VECTOR data types and intrinsic functions
    ... (snip, I wrote) ... it will be hard to process arrays that aren't multiples ... lengths to the appropriate multiple. ...
    (comp.lang.fortran)
  • Re: Float comparison
    ... Keith Thompson wrote: ... FLT_RADIX is a multiple of 3.) ... Maybe the float system ...
    (comp.lang.c)
  • Re: VECTOR data types and intrinsic functions
    ... (snip, I wrote) ... it will be hard to process arrays that aren't multiples ... remainders with short vectors or scalar code for decades. ... lengths to the appropriate multiple. ...
    (comp.lang.fortran)
  • Re: VMS Forever?
    ... process's address space has exactly one program counter, ... If it has multiple program counters, ... exceptions are the process ID and the fork() return code. ...
    (comp.os.vms)
  • Re: add a FOR loop to Fortran?
    ... Gordon Sande wrote: ... When there are multiple line, ... Try naming the construct. ...
    (comp.lang.fortran)