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