[Gretl-devel] scripting-related

Allin Cottrell cottrell at wfu.edu
Mon Jan 22 12:14:13 EST 2007


On Mon, 22 Jan 2007, Sven Schreiber wrote:

> Here's an example script:
> <script>
> function test(void)
>
> return ...
> end function
>
> test()
> </script>
>
> The first time you run it, gretl correctly complains about a syntax
> error. The next time it wrongly complains about "You can't define a
> function within a function", obviously because it is still "inside" the
> function body, not having reached "end function" before.

Yup, you're right.  I believe that one should be fixed now.

Allin.



More information about the Gretl-devel mailing list