aboutsummaryrefslogtreecommitdiffstats
path: root/test/arrayind2.awk
diff options
context:
space:
mode:
Diffstat (limited to 'test/arrayind2.awk')
-rw-r--r--test/arrayind2.awk8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/arrayind2.awk b/test/arrayind2.awk
new file mode 100644
index 00000000..200694eb
--- /dev/null
+++ b/test/arrayind2.awk
@@ -0,0 +1,8 @@
+BEGIN {
+ pos[0] = 0
+ posout[0] = 0
+ split("00000779770060", f) # f[1] is a strnum
+ print typeof(f[1])
+ pos[f[1]] = 1
+ print typeof(f[1])
+}