Commits

Shlomi Fish  committed 807ef21

Add closed prints.

  • Participants
  • Parent commits 63a17b0

Comments (0)

Files changed (1)

File dylan-programs/hello/doors.dylan

     end
   end;
   for (x from 1 to 100) 
-    if (doors[x - 1]) 
-      format-out("door %d open\n", x)
-    end
+      format-out("door %d %s\n", x, if (doors[x - 1]) "open" else "closed" end)
   end
 end;