• PROCINFO["pma_version"] eventually ???

    From J Naman@21:1/5 to All on Mon Dec 5 17:46:57 2022
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Manuel Collado@21:1/5 to All on Tue Dec 6 11:54:57 2022
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)