On Mon, 19 May 2014, Tim Nall wrote:
I wasn't sure if armax could be accessed via hansl...
All function packages can be accessed via hansl. Just use the
"include" command to access the .gfn (package) file.
Moreover, and slightly off-point, armax might be improved by
having its function calls preceded by "catch" logic, since it
crashes frequently.
Please reserve the word "crash" to refer to a condition in which
gretl itself exits prematurely (generally due to a [memory]
segmentation fault). What you're talking about with armax we would
describe as an "error condition": gretl doesn't quit, but the
execution of the script is halted.
That said, your suggestion that "catch" should be used is a good
one.
I don't know whether continuing on after a crash is a menangful
thing to do.
After a true crash there's no option to continue: the OS causes the
program to exit. After a script error it's certainly possible to
continue, and it will be meaningful to do so unless the script in
question unconditionally assumes that no error has occurred, in
which case the errors may compound and become increasingly hard to
understand.
Allin Cottrell