aboutsummaryrefslogtreecommitdiff
path: root/wav.bqn
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2020-12-15 21:49:37 -0500
committerMarshall Lochbaum <mwlochbaum@gmail.com>2020-12-15 21:49:37 -0500
commit6ea11b0bb55c27855dc51bd483d5e3f673b76ed9 (patch)
tree97ebd3c8018e1749c91bb3634b26f7d4e5c50ec3 /wav.bqn
parentfd6632e287f82dba7bac7b590647800e29666a58 (diff)
Fix error message code
Diffstat (limited to 'wav.bqn')
-rw-r--r--wav.bqn2
1 files changed, 1 insertions, 1 deletions
diff --git a/wav.bqn b/wav.bqn
index 24e1a4a..683a9ef 100644
--- a/wav.bqn
+++ b/wav.bqn
@@ -117,7 +117,7 @@ DecodeWav ← {
}
# Check that fields match their definitions
e ← hdr ≢⟜(⊑{𝕎𝕩⊏hdr}1⊸↓)¨ wh.def
- Msg ← "Values for fields " (∾∾⟜" "¨) "are incorrect"˙
+ Msg ← "Values for fields " ∾ (∾∾⟜" "¨) ∾ "are incorrect"˙
_alert ← {(𝔽∘Msg /⟜(wh.name))⍟(∨´) e ∧ wh.err⊸∊}
!⟜0 _alert "e"∾(se<0)/"?"
(•Out "Warning: "∾⊢) _alert "w"