Am 05.12.2022 um 22:39 schrieb Cottrell, Allin:
On Thu, Dec 1, 2022 at 11:06 AM Sven Schreiber
<sven.schreiber(a)fu-berlin.de> wrote:
> if I create a new matrix without assignment (matrix m), I get a 0x0
> empty matrix. Can I rely on this behavior or is it in principle
> undefined and could change in the future?
You can rely on it. It's documented: see section 11.9 of the Gretl User's Guide.
OK, thanks!
The only other pertinent point to note is that while you can repeat
a
"null definition" such as "matrix m = {}" you cannot repeat a bare
declaration in hansl (or not without first deleting the object in
question) since that would seem to imply that you've forgotten that
the identifier in question is already declared.
Yes, I was aware of that. I'm using the bare declaration almost only in
functions, where the lifetime of objects is limited anyway.
thanks
sven