On Fri, Feb 02, 2001 at 08:09:36AM -0500, Charles Lane wrote:
> Peter Scott <[EMAIL PROTECTED]> wrote:
> >At 07:12 PM 2/1/01 -0600, David L. Nicol wrote:
> >>I recalled hearing about a language (was it java?) where
> >>you set the return value of a function (was it VB?) by
> >>assigning to the name of the function within the function body,
> >>so the last line would be
> >>
> >> fname=rval;
> >>
> >>or fname could be used instead of rval all through it.
> >
> >Ah, an homage to Pascal :-)
>
> More like Fortran:
> REAL FUNCTION FOO(A)
> REAL A
> C
> FOO = 2*A+3
> RETURN
> END
> ^^^^^^^
> note exactly 7 spaces...
>
> And I think Fortran has a better claim to priority ;)
And then there's Parse::RecDescent....
Abigail