[PD] Finding "$0" and dealing with it in messages

Matt Barber brbrofsvl at gmail.com
Sun Nov 15 00:29:50 CET 2009


Thanks.  I would like to work out the bugs if anyone could find this
useful... I am too trusting with [print] so there were some things
with floats that were actually phantom symbols (this kind of thing is
really useful for learning lessons about the weird datatype pitfalls
in Pd).  Here's an update.

I really wish there were some kind of [s2l] in vanilla.  One COULD use
something like # 2  instead of #2 and make it vanilla, but that seems
kind of clunky.


MB

On Sat, Nov 14, 2009 at 6:18 PM, Hans-Christoph Steiner <hans at at.or.at> wrote:
>
> Yeah, its great that you made this.  I think people are too used to thinking
> that some things are set in stone, like message boxes and arguments.  But
> you really can make your own.  And you did it in Pd event, bonus points
> there :-D
>
> .hc
>
> On Nov 14, 2009, at 5:45 PM, Matt Barber wrote:
>
>> There are plenty of bugs still, but this might be the type of thing
>> one could do without having to code a new object.
>>
>> On Sat, Nov 14, 2009 at 2:29 PM, Matt Barber <brbrofsvl at gmail.com> wrote:
>>>
>>> Here's a start -- it requires [s2l] and [l2s] from zexy, though (there
>>> may be a way to do it vanilla, but possibly not).
>>>
>>> Matt
>>>
>>> On Sat, Nov 14, 2009 at 11:35 AM, Mathieu Bouchard <matju at artengine.ca>
>>> wrote:
>>>>
>>>> On Fri, 13 Nov 2009, Hans-Christoph Steiner wrote:
>>>>
>>>>> Someone could write their own message box object and make it do
>>>>> whatever
>>>>> they want.  Then you have both: a new interface and backwards
>>>>> compatibility.
>>>>>  The message box could just be a GUI object like any other, there is
>>>>> nothing
>>>>> inherently unique about it.
>>>>
>>>> It wouldn't even need to be a "GUI" object. just make it an objectbox
>>>> class
>>>> named [m]. Then "$1" (etc) becomes the same as in other objectboxes, and
>>>> then another syntax can be used to mean message arguments. Except that
>>>> if
>>>> it's not a GUI object, then it's not clickable, and stuff.
>>>>
>>>> User-wise, there _is_ something inherently unique to the messagebox, but
>>>> it
>>>> happens to be exactly the difference that we'd like to eliminate.
>>>>
>>>>  _ _ __ ___ _____ ________ _____________ _____________________ ...
>>>> | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801
>>>
>
>
>
>
> ----------------------------------------------------------------------------
>
>                            kill your television
>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: m.pd
Type: text/x-puredata
Size: 6941 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20091114/d5ed0d25/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: m-help.pd
Type: text/x-puredata
Size: 1104 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20091114/d5ed0d25/attachment-0001.bin>


More information about the Pd-list mailing list