<div dir="ltr">Hi, been working on a delread/write variation as posted on the pd-list with more features, like freezing. I have a single "del~" object (named like this for now) and I can define if it's "in" (write) or "out" (read). This is like other pd objects like [list]. I do this so I can use <span style="color:rgb(0,92,197);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;white-space:pre">pd_findbyclass</span> so I can pair objects by delay line name ([del~ in xxx] and [del~ out xxx]). I read that was the way to do it in some other thread here not long ago.<div><br></div><div>Now, maybe I've seen this weird behaviour before but I can't see what's happening. I have A_GIMME to parse arguments and when trying to print the number of arguments (usually defined as "argc") I don't get the values I expect, but very large and negative ones (what the hell?).</div><div><br></div><div>I uploaded my prototype just so you can see this and help me figure out where the problem is => <a href="https://github.com/porres/pd-else/blob/master/Classes/Source/del~.c">https://github.com/porres/pd-else/blob/master/Classes/Source/del~.c</a></div><div><br></div><div>here's the global setup function for both objects <a href="https://github.com/porres/pd-else/blob/master/Classes/Source/del~.c#L290">https://github.com/porres/pd-else/blob/master/Classes/Source/del~.c#L290</a></div><div><br></div><div>here in the "del_new" function, if I query for the number of arguments, I get the weird values already, see <a href="https://github.com/porres/pd-else/blob/master/Classes/Source/del~.c#L266">https://github.com/porres/pd-else/blob/master/Classes/Source/del~.c#L266</a></div><div><br></div><div>why dear god, why? please please please, it's late and I'm losing sleep</div><div><br></div><div>thanks</div></div>