hi,
i just made a .sc class file that makes SuperCollider
crash when trying to compile ;--) it's in the
attachment if you want to look. (the last thing i've
added is the prMsgSize method, probably it's buggy,
but then the compiler should complain and not crash).
another thing : ArrayJP.sc +msgSize is buggy : a) it
only recognizes strings and numbers, therefore fails
for symbols passed in or for completion message blobs
passed in ; b) is doesn't account for the typetag
section of the message. c) i get a weird behaviour of
Array.msgSize sometimes where the method .msgSize is
"copied into the message itself". please don't ask me
what i mean, it's a bit difficult to describe. like i
do ...
x = < some osc message >;
y = x.msgSize;
---> error : msgSize not understood -->
x.asCompileString.postln; --> "{ | sum, elt |
sum + elt.isString.if({ elt.size + 4 - (elt.size
bitAnd: 3) }, { 4 }); }" (that's the msgSize method
body itself!)
best, -sciss-
____________________________________________________
Do you Yahoo!?
Never miss an Instant Message - Yahoo! Messenger for SMS
http://au.mobile.yahoo.com/mweb/index.html
<SwingOSC.sc>
_______________________________________________
sc-dev mailing list
sc-dev@xxxxxxxxxxxxxxx
http://www.create.ucsb.edu/mailman/listinfo/sc-dev