[EMAIL PROTECTED] wrote: > Log Message: > added error report to [sustain( message > > --- 203,209 ---- > { > if (f > 0 && f < x->last_state) > ! x->sustain_state = f; > ! else > ! post("ERROR: sustain value not betweem 0 and %f",x->last_state); > } >
tip of the day: there are 2 dedicated error-reporting messages in pd: error("%s",...) and pd_error(x, "%s",...) which should be used instead of post("ERROR: %s",...) the 2nd one being especially cool, as it allows to find the object that threw the error. vfg.mfg.fasr IOhannes _______________________________________________ PD-dev mailing list PD-dev@iem.at http://lists.puredata.info/listinfo/pd-dev