From 68ba43d9c7604d8544834dadc6f549af45d8992c Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Thu, 29 Nov 2018 21:40:23 +0200 Subject: And add doc. --- doc/gawk.texi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc/gawk.texi') diff --git a/doc/gawk.texi b/doc/gawk.texi index 6d0c7319..3443aeec 100644 --- a/doc/gawk.texi +++ b/doc/gawk.texi @@ -15935,7 +15935,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 @@ -15943,9 +15944,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 -- cgit v1.2.3