Allin Cottrell schrieb:
On Sat, 27 Jan 2007, Sven Schreiber wrote:
> -- ok, so IMHO gretl should not allow to leave the return value name
> empty in the package call GUI. Right now it seems possible to not
> provide a name for the returned object and still call the function. As
> a result it appears that the return value is discarded. I cannot see
> the use of that behavior, so I propose that gretl catches that
> specific user input error.
Not sure I agree on that. A function may, for example, print something
the user is interested in (e.g. some sort of hypothesis test) and offer
a return that is only of interest to experts (say, a vector of
relatively "raw" values that could be further processed).
Why should the GUI user be forced to assign the return, when the script
user is free to ignore it?
Good point!
-sven