Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#99 give more error info for subsidiary inlets

open
nobody
puredata (65)
5
2010-09-04
2010-09-04
Jonathan Wilkes
No

If you send the message "foo" to the left inlet of an object like [clip] that doesn't have a method for that selector, you get the error:
error: clip: expected 'float' but got 'foo'

But if you send the same message to any of the other inlets of [clip], you get:
error: inlet: expected 'float' but got 'foo'

Is there any way to specify the object class for that inlet? Because
error: clip: inlet: expected 'float' but got 'foo'
would be a lot more helpful, especially in those cases where Pd isn't able to track down and highlight the specific object.

Discussion


Anonymous


Cancel   Add attachments