Am 24.03.2020 um 08:38 schrieb Sven Schreiber:
Hi,
sorry, here is another one of those free-floating wishlist items: Some
complex packages have functions with quite many arguments, among which
often some boolean switches. The function calls would be easier to read
if one could use some keywords for on-off/yes-no/true-false instead of
the generic 1-0 (where it could be another general integer arg of
course).
So could gretl have trivial constants simply mapped to 1 and 0? For
example like additional $-accessors: $true $false.
If we don't want to have it as built-in stuff, one alternative could be
to add functions true() and false() (without arguments I guess) to the
extra package.
Hi, if nobody objects (or has any other feedback) I would eventually go
ahead with adding these trivial functions to the extra addon.
cheers
sven