aboutsummaryrefslogtreecommitdiffstats
path: root/test/arrayind2.awk
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2016-05-26 16:28:08 -0400
committerArnold D. Robbins <arnold@skeeve.com>2016-05-26 16:28:08 -0400
commit33ffd32ea8ea143a210fef2181a804ee0c70cdfb (patch)
tree00047e89140f0075084957e297baabad107f1a6d /test/arrayind2.awk
parent01e482c9f36b34fe03bff724bb3079d86f1c4625 (diff)
parent4d634960a411622cfb2e757d8e98c84f7601e09e (diff)
downloadegawk-33ffd32ea8ea143a210fef2181a804ee0c70cdfb.tar.gz
egawk-33ffd32ea8ea143a210fef2181a804ee0c70cdfb.tar.bz2
egawk-33ffd32ea8ea143a210fef2181a804ee0c70cdfb.zip
Merge branch 'master' into feature/cmake
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])
+}