On Sat, Feb 17, 2024 at 8:18 PM Cottrell, Allin <cottrell(a)wfu.edu> wrote:
On Sat, Feb 17, 2024 at 5:48 PM Sven Schreiber
<sven.schreiber(a)fu-berlin.de> wrote:
>
> Hello,
>
> the help text for the (relatively recent) typename() function says: "If
> the argument does not identify an object the string null is returned." -
> But I'm actually getting an error instead of a string output, like with
> all other functions (apart from exists()). Is the help text outdated or
> the implementation buggy? Or --as always-- am I missing something?
You're not missing anything: both typeof() and typename() are failing
when given a string that's not the name of anything known to gretl [...]
That's now fixed in git, with a new unit-test script to verify the behavior.
Allin