Re: How to return a variable length substring from a function ?
- From: dpb <none@xxxxxxx>
- Date: Sat, 31 Jan 2009 14:29:06 -0600
Larry Gates wrote:
On Sat, 31 Jan 2009 10:45:30 -0800, Richard Maine wrote:
Clive Page <junk@xxxxxxxxxxxx> wrote:
In message <1iucx6f.142ctc318dqrb4N%nospam@xxxxxxxxxxxxx>, Richard MaineAha. Trivia question time, then. :-) These functions are good subjects
<nospam@xxxxxxxxxxxxx> writes
Assumed length character functions are incredibly obscure and don't doI'd like to claim to be among the 1% (or it is 10%) who understand them,
anything like what you would either think or want. At least 90% of the
people who try to use them don't understand what they do. That 90% is
probably low; more like 99%.
for such, having several obscure gotchas. There are some I don't think I
can answer myself, at least without a lot of work, and I still might get
it wrong. I was thinking I might have seen an interp request on one
nasty case that I don't recall the answer to. I don't recall enough
details to reconstuct that one off the top of my head.
The following is one that there's a reasonable chance you might actually
know or be able to figure it out. If so, congratulations; you are
special. (But we knew that. :-))
What is the unusual consequence of putting such a function in a module?
This isn't an attempt to take a stab at the answer but to illuminate my
reading from yesterday in the Adams text.
In §11.3.1 the form of a module is given as
MODULE module-name
[specification part]
[ CONTANS
module subprogram
[module-subprogram] ...]
END [MODULE [module-name]]
I don't see any execution part here. What gives?
The module subprogram(s) would be/are executable code.
That the question???
--
.
- References:
- How to return a variable length substring from a function ?
- From: Ragu
- Re: How to return a variable length substring from a function ?
- From: Dave Allured
- Re: How to return a variable length substring from a function ?
- From: Richard Maine
- Re: How to return a variable length substring from a function ?
- From: Clive Page
- Re: How to return a variable length substring from a function ?
- From: Richard Maine
- Re: How to return a variable length substring from a function ?
- From: Larry Gates
- How to return a variable length substring from a function ?
- Prev by Date: Re: STOP in Fortran 2003
- Previous by thread: Re: How to return a variable length substring from a function ?
- Next by thread: Plotting library for fps4
- Index(es):
Relevant Pages
|