diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2016-05-26 16:27:43 -0400 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2016-05-26 16:27:43 -0400 |
commit | 4d634960a411622cfb2e757d8e98c84f7601e09e (patch) | |
tree | ce2b19842cf7d1e695d4aeac9b61459bb431b945 /test/arrayind2.awk | |
parent | 1d6fd4d8bc7e4034fe45d78f31a7295f4592b3ec (diff) | |
download | egawk-4d634960a411622cfb2e757d8e98c84f7601e09e.tar.gz egawk-4d634960a411622cfb2e757d8e98c84f7601e09e.tar.bz2 egawk-4d634960a411622cfb2e757d8e98c84f7601e09e.zip |
New test, arrayind2.
Diffstat (limited to 'test/arrayind2.awk')
-rw-r--r-- | test/arrayind2.awk | 8 |
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]) +} |