[PD] [OT] libpd and python3
Hello, The question is for people involved in the libpd project. I would like to know if the module pylibpd is planned for python3 ? Ciao. ++ Jack ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Re: [PD] Test if an argument is void
Nice! I definitely wouldn't have thought of this. From: Pd-list on behalf of IOhannes m zmoelnig Sent: 09 April 2018 15:19 To: pd-list@lists.iem.at Subject: Re: [PD] Test if an argument is void On 2018-04-09 15:29, Liam Goodacre wrote: > If you don't mind using externals, you can use [iemguts/canvasargs] or > [else/args]. I can't think of a way of doing this in Vanilla though. As you > say, no argument seems to be indistinguishable from 0. for a given argument, it's possible. e.g.: (it's also possible to count the number of arguments, but more complicated) https://lists.puredata.info/pipermail/pd-list/2012-09/097880.html (the code has to be copied verbatim into your abstraction and cannot be wrapped into a helper-abstraction) fgasdmr IOhannes ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Re: [PD] Test if an argument is void
On 2018-04-09 15:29, Liam Goodacre wrote: > If you don't mind using externals, you can use [iemguts/canvasargs] or > [else/args]. I can't think of a way of doing this in Vanilla though. As you > say, no argument seems to be indistinguishable from 0. for a given argument, it's possible. e.g.: (it's also possible to count the number of arguments, but more complicated) https://lists.puredata.info/pipermail/pd-list/2012-09/097880.html (the code has to be copied verbatim into your abstraction and cannot be wrapped into a helper-abstraction) fgasdmr IOhannes signature.asc Description: OpenPGP digital signature ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Re: [PD] Test if an argument is void
If you don't mind using externals, you can use [iemguts/canvasargs] or [else/args]. I can't think of a way of doing this in Vanilla though. As you say, no argument seems to be indistinguishable from 0. From: Pd-list on behalf of abel.jer...@free.fr Sent: 09 April 2018 13:02 To: pd-list@lists.iem.at Subject: [PD] Test if an argument is void Hi all, Does anyone find a way to test if an argument is void into an abstraction ? The default behavior is to consider it as a float "0", but it would be very helpful to distinguish a "0" and no argument. Thanks. --- Jérôme http://jeromeabel.net ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
[PD] Test if an argument is void
Hi all, Does anyone find a way to test if an argument is void into an abstraction ? The default behavior is to consider it as a float "0", but it would be very helpful to distinguish a "0" and no argument. Thanks. --- Jérôme http://jeromeabel.net ___ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list