Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

When we write programs that "learn", it turns out we do and they don't.


devel / comp.lang.awk / Re: PROCINFO["pma_version"] eventually ???

SubjectAuthor
o Re: PROCINFO["pma_version"] eventually ???Manuel Collado

1
Re: PROCINFO["pma_version"] eventually ???

<426b3cbd-60cc-df87-7b8a-c38bde366a51@users.sourceforge.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1347&group=comp.lang.awk#1347

  copy link   Newsgroups: comp.lang.awk
Path: i2pn2.org!i2pn.org!aioe.org!0in1pHreWDEP413UZPB/SA.user.46.165.242.75.POSTED!not-for-mail
From: m-collado@users.sourceforge.net (Manuel Collado)
Newsgroups: comp.lang.awk
Subject: Re: PROCINFO["pma_version"] eventually ???
Date: Tue, 6 Dec 2022 11:54:57 +0100
Organization: Aioe.org NNTP Server
Message-ID: <426b3cbd-60cc-df87-7b8a-c38bde366a51@users.sourceforge.net>
References: <9b8cf95f-3cf2-4109-b1d8-4f9b7b22705cn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="16462"; posting-host="0in1pHreWDEP413UZPB/SA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.5.1
X-Notice: Filtered by postfilter v. 0.9.2
X-Antivirus-Status: Clean
X-Antivirus: AVG (VPS 221206-0, 6/12/2022), Outbound message
 by: Manuel Collado - Tue, 6 Dec 2022 10:54 UTC

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

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor