You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tcl.apache.org by mx...@apache.org on 2020/01/19 16:19:51 UTC
[tcl-rivet] 01/02: dropped entry for command incr0
This is an automated email from the ASF dual-hosted git repository.
mxmanghi pushed a commit to branch 3.1
in repository https://gitbox.apache.org/repos/asf/tcl-rivet.git
commit 2c903d9461516c98b0f83d024eb443726cfa6cba
Author: Massimo Manghi <mx...@apache.org>
AuthorDate: Sun Jan 19 17:18:10 2020 +0100
dropped entry for command incr0
---
ChangeLog | 3 +++
doc/xml/commands.xml | 32 --------------------------------
2 files changed, 3 insertions(+), 32 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 42ca2d8..56c0589 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2020-01-19 Massimo Manghi <mx...@apache.org>
+ * doc/xml/commands.xml: remove entry for command incr0 (dropped in 3.0)
+
2019-04-13 Massimo Manghi <mx...@apache.org>
* doc/xml/commands.xml: Correct wrong header in ::rivet::http_accept code example
diff --git a/doc/xml/commands.xml b/doc/xml/commands.xml
index a8fc1f0..d98944f 100644
--- a/doc/xml/commands.xml
+++ b/doc/xml/commands.xml
@@ -947,38 +947,6 @@ keyvalue_map(args) = 1 2 3 4 5</programlisting>
</refsect1>
</refentry>
- <refentry id="incr0">
- <refnamediv>
- <refname>incr0</refname>
- <refpurpose>increment a variable or set it to 1 if nonexistent.</refpurpose>
- </refnamediv>
-
- <refsynopsisdiv>
- <cmdsynopsis>
- <command>incr0</command>
- <arg><replaceable>varname</replaceable></arg>
- <arg><replaceable>num</replaceable></arg>
- </cmdsynopsis>
- </refsynopsisdiv>
- <refsect1>
- <title>Description</title>
- <para>
- Increment a variable
- <option><replaceable>varname</replaceable></option> by
- <option><replaceable>num</replaceable></option>. If the
- variable doesn't exist, create it instead of returning an
- error.
- </para>
- <note>
- incr0 functionality is provided by the native <command>incr</command> in
- Tcl >= 8.5, therefore this command is deprecated and kept as an
- interpreter alias only for compatibility. As such <command>incr0</command>
- wasn't moved to the ::rivet namespace and
- it will be removed in future versions of Rivet.
- </note>
- </refsect1>
- </refentry>
-
<refentry id="inspect">
<refnamediv>
<refname>inspect</refname>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tcl.apache.org
For additional commands, e-mail: commits-help@tcl.apache.org