aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gawk.1
diff options
context:
space:
mode:
Diffstat (limited to 'doc/gawk.1')
-rw-r--r--doc/gawk.114
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/gawk.1 b/doc/gawk.1
index d34dfcac..acd86f7a 100644
--- a/doc/gawk.1
+++ b/doc/gawk.1
@@ -1168,6 +1168,20 @@ The
.B delete
statement may also be used to delete the entire contents of an array,
just by specifying the array name without a subscript.
+.PP
+.I gawk
+supports true multidimensional arrays. It does not require that
+such arrays be ``rectangular'' as in C or C++.
+For example:
+.RS
+.ft B
+.nf
+a[1] = 5
+a[2][1] = 6
+a[2][2] = 7
+.fi
+.ft
+.RE
.SS Variable Typing And Conversion
.PP
Variables and fields