gawk-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] gawk branch, feature/docit, updated. gawk-4.1.0-4409-gd9221fd


From: Antonio Giovanni Colombo
Subject: [SCM] gawk branch, feature/docit, updated. gawk-4.1.0-4409-gd9221fd
Date: Fri, 25 Jun 2021 10:06:38 -0400 (EDT)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gawk".

The branch, feature/docit has been updated
       via  d9221fdf029ff14cddf99ff717d7fb026c1ee9ef (commit)
      from  79767ea99028031bc8397c0246552c55d79d6389 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=d9221fdf029ff14cddf99ff717d7fb026c1ee9ef

commit d9221fdf029ff14cddf99ff717d7fb026c1ee9ef
Author: Antonio Giovanni Colombo <azc100@gmail.com>
Date:   Fri Jun 25 16:06:01 2021 +0200

    Added statement about isnumeric() function

diff --git a/doc/it/ChangeLog b/doc/it/ChangeLog
index 80e49d1..c388ef8 100644
--- a/doc/it/ChangeLog
+++ b/doc/it/ChangeLog
@@ -1,3 +1,7 @@
+2021-06-25         Antonio Giovanni Colombo   <azc100@gmail.com>
+
+       * gawktexi.in: Updated.
+
 2021-06-24         Antonio Giovanni Colombo   <azc100@gmail.com>
 
        * gawktexi.in: Updated.
diff --git a/doc/it/gawktexi.in b/doc/it/gawktexi.in
index 4863ab2..7a056b0 100755
--- a/doc/it/gawktexi.in
+++ b/doc/it/gawktexi.in
@@ -24335,7 +24335,6 @@ function isnumeric(x,  f)
         return 0
     @}
 @}
-
 @c endfile
 @end example
 
@@ -24344,6 +24343,14 @@ ignorati nel decidere se un valore sia numerico oppure 
no; se la cosa
 @`e importante in una data situazione, occorre aggiungere un apposito
 controllo ulteriore.
 
+Tradizionalmente, per controllare se un valore @`e numerico, si raccomandava
+di usare il test @samp{x+0 == x}.  La funzione @code{isnumeric} @`e migliore
+sotto due aspetti: non attribuisce un valore numerico a variabili a cui
+non sia stato ancora assegnato un valore; e riconosce valori di stringa
+con contenuto numerico.
+Tuttavia, per farlo, utilizza la funzione @code{typeof()}
+(@pxref{Funzioni per i tipi}), che @`e disponibile solo in @command{gawk}.
+
 @node Gestione File Dati
 @section Gestione di @value{DF}
 

-----------------------------------------------------------------------

Summary of changes:
 doc/it/ChangeLog   | 4 ++++
 doc/it/gawktexi.in | 9 ++++++++-
 2 files changed, 12 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
gawk



reply via email to

[Prev in Thread] Current Thread [Next in Thread]