aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gawktexi.in
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2018-11-29 21:39:47 +0200
committerArnold D. Robbins <arnold@skeeve.com>2018-11-29 21:39:47 +0200
commit7c759ec96a0e5f6fac405e67e2b7299c0ac0a867 (patch)
treed3accb106a5da4ea59806ce5adfad9814a208af5 /doc/gawktexi.in
parent334a4d623501739b794239add6fade23abbdb645 (diff)
downloadegawk-7c759ec96a0e5f6fac405e67e2b7299c0ac0a867.tar.gz
egawk-7c759ec96a0e5f6fac405e67e2b7299c0ac0a867.tar.bz2
egawk-7c759ec96a0e5f6fac405e67e2b7299c0ac0a867.zip
Disable writing to arbitrary elements of SYMTAB.
Diffstat (limited to 'doc/gawktexi.in')
-rw-r--r--doc/gawktexi.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/gawktexi.in b/doc/gawktexi.in
index 9a21913b..cc667534 100644
--- a/doc/gawktexi.in
+++ b/doc/gawktexi.in
@@ -15253,7 +15253,8 @@ if an element in @code{SYMTAB} is an array.
Also, you may not use the @code{delete} statement with the
@code{SYMTAB} array.
-You may use an index for @code{SYMTAB} that is not a predefined identifier:
+Prior to @value{PVERSION} 5.0 of @command{gawk}, you could
+use an index for @code{SYMTAB} that was not a predefined identifier:
@example
SYMTAB["xxx"] = 5
@@ -15261,9 +15262,8 @@ print SYMTAB["xxx"]
@end example
@noindent
-This works as expected: in this case @code{SYMTAB} acts just like
-a regular array. The only difference is that you can't then delete
-@code{SYMTAB["xxx"]}.
+This no longer works, instead producing a fatal error, as it led
+to rampant confusion.
@cindex Schorr, Andrew
The @code{SYMTAB} array is more interesting than it looks. Andrew Schorr