about summary refs log tree commit diff stats
path: root/032array.cc
diff options
context:
space:
mode:
Diffstat (limited to '032array.cc')
-rw-r--r--032array.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/032array.cc b/032array.cc
index c2598d91..b8b4088a 100644
--- a/032array.cc
+++ b/032array.cc
@@ -188,7 +188,7 @@ def main [
   2:num <- copy 14
   3:num <- copy 15
   4:num <- copy 16
-  5:num <- index 1:array:num:3, 0
+  5:num <- index 1:array:num:3, 0/index  # the index must be a non-negative whole number
 ]
 +mem: storing 14 in location 5