[PD] How to implement an @ argument in an external object?

Alexandre Torres Porres porres at gmail.com
Tue Feb 27 00:53:41 CET 2018


that's how we do all "@" arguments in cyclone :)

2018-02-26 18:01 GMT-03:00 Alexandros <adrcki at gmail.com>:

>
>
> On 26/02/2018 09:36 μμ, IOhannes m zmölnig wrote:
> > On 02/26/2018 08:09 PM, Alexandros wrote:
> >> Being informed about the mailing list archive correct link, I searched
> >> for messages about this but didn't find something (it's possible I've
> >> missed something though).
> >>
> >> I'm writing an external and I want to use an @ argument (for example
> >> "@sync hard"). How does one implement this in C code?
> >>
> > either use flext (but then you write C++) and it comes for free.
> >
> > or simply iterate over the arguments, looking for symbols starting with
> > "@" (or simply search for symbols that are "@sync"), then check whether
> > there's another argument after that and see which value it has.
> Sounds logical and simple. Will go for that.
>
>
>
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/
> listinfo/pd-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20180226/716f7d21/attachment.html>


More information about the Pd-list mailing list