(for:) doesn't work with empty array
Created originally on Bitbucket by boyland (boyland@uwm.edu)
In the following code, if $defcode
is the empty array, I get an error: " The (for:) macro needs one more argument"
#!harlowe
(for: each _line, ...$defcode)[ _line
]
I can work around the problem with an (if: $defcode's length > 0)[...]
but that's clunky.
This is Harlowe 2.1.0