From Newsgroup: comp.lang.awk
El 06/12/2022 a las 2:46, J Naman escribió:
Not urgent: Granted that PMA Avon 8 is still an "EXPERIMENTAL FEATURE!", eventually it will be helpful to have an internal variable such as PROCINFO["pma"] or PROCINFO["pma_version"] to provide the version or null if it is not in use or available.
if(PROCINFO["pma"]) { do something } else { use rwarray extension ... }
Right now, the only information to work with is the state of the GAWK_PERSIST_FILE environment variable.
Wouldn't it suffice to mention it in the --version information? Like
MPFR or MP?
gawk --version
GNU Awk 5.1.1, API: 3.1 (GNU MPFR 4.0.2, GNU MP 6.1.2)
...
--
Manuel Collado -
http://mcollado.z15.es
--- Synchronet 3.19c-Linux NewsLink 1.113