summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2017-02-10 15:07:56 (EST)
committer P. J. McDermott <pj@pehjota.net>2017-02-10 15:07:56 (EST)
commitea45d18dbcf3dde557666ddc830b3a42bcb10286 (patch)
tree5df42f60bd4d69c3814ae7f8cb04f2f9865d8d2c
parentb5d337733bb1d3dffd083dab7fcbcaf6faf2cf50 (diff)
downloadeggshell-ea45d18dbcf3dde557666ddc830b3a42bcb10286.zip
eggshell-ea45d18dbcf3dde557666ddc830b3a42bcb10286.tar.gz
eggshell-ea45d18dbcf3dde557666ddc830b3a42bcb10286.tar.bz2
research/arrays.txt: Fix array value getting code
-rw-r--r--research/arrays.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/research/arrays.txt b/research/arrays.txt
index 0e5a2b6..6cc793b 100644
--- a/research/arrays.txt
+++ b/research/arrays.txt
@@ -19,6 +19,7 @@ Compiles to:
push ${array} 4
string=$(join ', ' ${array})
__a_get __r0 array 0
+ value=${__r0}
__a_unset array 0
__a_new __r0 2 3
__a_new __r1 1 ${__r0} 4