Em sex., 17 de set. de 2021 às 13:00, Christof Ressi <info@christofressi.com> escreveu:
I guess what happens is that you instantiate [cyclone/play~] on a top
level canvas (which doesn't have creation arguments), so the value of
"$1" is always "0". A_DEFSYM converts non-symbols to an empty symbol.

Yes, that's the problem. I should have said it all works fine if this is an abstraction loaded with actual arguments. But I still wonder if there's anything I can do. I do need to use A_GIMME ayway, changing that is not an option. 
 
Otherwise use A_GIMME and check manually.

 This is what I'm doing, but if I check if it's a float (illegal), then $1 is a float... so, well, just to be clear, there's no way around this, right?

cheers

Christof




_______________________________________________
Pd-dev mailing list
Pd-dev@lists.iem.at
https://lists.puredata.info/listinfo/pd-dev