summaryrefslogtreecommitdiff
path: root/Arrays/arrays.b
diff options
context:
space:
mode:
Diffstat (limited to 'Arrays/arrays.b')
-rw-r--r--Arrays/arrays.b7
1 files changed, 4 insertions, 3 deletions
diff --git a/Arrays/arrays.b b/Arrays/arrays.b
index 671efff..ecbee53 100644
--- a/Arrays/arrays.b
+++ b/Arrays/arrays.b
@@ -84,7 +84,10 @@ init(nil: ref Draw->Context, nil: list of string) {
print("]\n\n");
# Buf
- buf := array[10] of {* => byte 3};
+ buf := array[10] of {
+ 0 to 2 => byte 4,
+ * => byte 3
+ };
print("Len buf: %d\n", len buf);
@@ -96,8 +99,6 @@ init(nil: ref Draw->Context, nil: list of string) {
# Two
two := array[4] of list of (string, string);
- #two = array[4] of list of (string, string);
-
two[0] = ("ducks", "quack") :: two[0];
two[2] = ("inferno", "os") :: two[2];