[Gretl-devel] still some function package editing problems
Sven Schreiber
svetosch at gmx.net
Fri Jan 26 11:31:01 EST 2007
Allin Cottrell schrieb:
> On Thu, 25 Jan 2007, Sven Schreiber wrote:
>
>> even though the default [null] for the list is set, executing the
>> function package shows another named list for the parameter restr_exo.
>
> Sorry, I don't understand what you're describing.
>
Ok, sorry; here's a recipe:
1. package the following example function:
function test(list myl[null])
if nelem(myl) != 0
print "This shouldn't be printed if the user didn't touch the
default input."
endif
end function
2. open some datafile and create an arbitrary but non-empty list named
"spam"
3. execute the function package from step 1; list "spam" appears as
selected in the list input drop-down menu
So the function package does not honor the [null] default setting.
Nothing too serious, but a little annoying.
Cheers,
Sven
More information about the Gretl-devel
mailing list