[PD] pool & negative floats
Star Morin
shift8 at underpop.org
Mon Jul 19 00:01:06 CEST 2004
ah. think i've figured it out -
pool 0.1.0, pool.cpp, static C *ReadAtom(C *c,A *a) contains:
// check for word type (s = 0,1,2 ... int,float,symbol)
I s = 0;
for(; *c && !isspace(*c); ++c) {
if(!isdigit(*c))
s = (*c != '.' || s == 1)?2:1;
}
where as current pool cvs, pool.cpp has:
// check for word type (s = 0,1,2 ... int,float,symbol)
I s = 0;
for(; *c && !isspace(*c); ++c) {
if(!isdigit(*c))
if(!s && (*c == '-' || *c == '+')) {} // minus or plus is ok
else
s = (*c != '.' || s == 1)?2:1;
}
solution - use current cvs :) ether way, thanks go to Thomas Grill -
[pool] is a super dope external. big ups!
-s
More information about the Pd-list
mailing list