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

IOhannes m zmölnig zmoelnig at iem.at
Mon Feb 26 20:36:21 CET 2018

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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20180226/c2a29bce/attachment.sig>

More information about the Pd-list mailing list