[PD-dev] [pd-cvs]: externals/ggee/gui envgen.c, 1.10, 1.11 (Hans-Christoph Steiner)

Hans-Christoph Steiner hans at eds.org
Sat Jul 7 00:46:42 CEST 2007


On Jul 4, 2007, at 6:59 AM, IOhannes m zmoelnig wrote:

> pd-cvs-request at 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 at iem.at
> http://lists.puredata.info/listinfo/pd-dev



------------------------------------------------------------------------ 
----

Using ReBirth is like trying to play an 808 with a long stick.    - 
David Zicarelli






More information about the Pd-dev mailing list