Handbook
Glossary
read-status ( prev-status -- prev-status' status )
Vocabulary
midi
.
private
Inputs
prev-status
an
object
Outputs
prev-status'
an
object
status
an
object
Definition
USING:
io
io.streams.peek
kernel
math
;
IN:
midi.private
:
read-status
( prev-status -- prev-status' status )
peek1
dup
128
<
[
drop
dup
]
[
drop
read1
dup
255
=
[
nip
dup
]
unless
]
if
;