pd-cvs-request@iem.at 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
IOhannes m zmoelnig wrote:
pd-cvs-request@iem.at 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",...)
's|messages|functions|'
mfg.asdr IOhannes
On Jul 4, 2007, at 6:59 AM, IOhannes m zmoelnig wrote:
pd-cvs-request@iem.at 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.
Thanks for the tip, I changed it.
.hc
vfg.mfg.fasr IOhannes
PD-dev mailing list PD-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
------------------------------------------------------------------------ ----
Using ReBirth is like trying to play an 808 with a long stick. - David Zicarelli