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

Alexandros adrcki at gmail.com
Mon Feb 26 22:01:08 CET 2018



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.





More information about the Pd-list mailing list