Hi,
here's the recipe for a function namespace-related bug:
1. open (start to execute) the function package BreitungCandelonTest.gfn
(I did it locally, but I guess the same should happen when opened from
the package server)
2. don't really execute the package, but cancel the package dialog (I
think this is not crucial, but I'm describing exactly what I did) --
note that inside the package there is a helper function 'BCtest_fromto()'
3. have a script named 'func2include_file.inp' in the current working
dir with the following contents (a new definition of the function
BCtest_fromto()):
<script>
function void BCtest_fromto(void)
print "hello, this is the alternative BCtest_fromto function"
end function
</script>
4. also have the following script file:
<script>
include func2include_file.inp
BCtest_fromto()
</script>
5. get an error like 'symbol BCtest_fromto() unknown' or so
Since the function definition in the package isn't declared "public" I
would expect the new function definition to work normally. Or I would
expect an error when the new function *definition* is encountered, not
at the later stage when that function is called.
Needless (?) to say, the scripts alone run fine without the clash with
the package. (Tested after restarting gretl.)
Thanks,
sven