On Tue, 19 Dec 2017, Schaff, Frederik wrote:
It is currently not possible to evaluate if an array of matrices
is equal to null or not.
I think you want either
exists(foo)
to check whether or not there's any object named "foo", or, if
you're sure that foo exists but want to check if it actually
contains any members/elements:
nelem(foo) != 0
The latter check will work for objects of type matrix, list, array
and bundle (that is, all gretl types that can exist yet be empty).
The formulation "foo == null" is not supported in hansl.
Allin