On Sat, Feb 17, 2024 at 8:18 PM Cottrell, Allin <cottr...@wfu.edu> wrote: > > On Sat, Feb 17, 2024 at 5:48 PM Sven Schreiber > <sven.schrei...@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 _______________________________________________ Gretl-devel mailing list -- gretl-devel@gretlml.univpm.it To unsubscribe send an email to gretl-devel-le...@gretlml.univpm.it Website: https://gretlml.univpm.it/postorius/lists/gretl-devel.gretlml.univpm.it/