[PD] attached

Ed Kelly morph_2016 at yahoo.co.uk
Wed Jun 29 14:28:49 CEST 2005


My understanding was that the value after A_DEFFLOAT
was the default value, i.e. the value of argv if no
arguments were passed to the object.

I changed the value to a 0 and got the same errors
from the compiler!

Ed

--- Olaf Matthes <olaf.matthes at gmx.de> wrote:

> Ed Kelly wrote:
> 
> > void simile_setup(void) {
> >   simile_class = class_new(gensym("simile")),
> >   (t_newmethod)simile_new,
> >   0, sizeof(t_simile),
> >   CLASS_DEFAULT,
> >   A_DEFFLOAT, 0.01);
> 
> should be:
> 
>  > void simile_setup(void) {
>  >   simile_class = class_new(gensym("simile")),
>  >   (t_newmethod)simile_new,
>  >   0, sizeof(t_simile),
>  >   CLASS_DEFAULT,
>  >   A_DEFFLOAT, 0);
> 
> note the 0 at the end instead of 0.01!
> 
> Olaf
> 
> 
> 


Dr Edward Kelly
Research Assistant in Sonic Arts
London College of Communication
University of the Arts London


		
___________________________________________________________ 
How much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com




More information about the Pd-list mailing list