that's how we do all "@" arguments in cyclone :)
2018-02-26 18:01 GMT-03:00 Alexandros adrcki@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@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/ listinfo/pd-list