I see PMAX is used in

$ grep PMAX */*.h
H/csoundCore.h:#define PMAX      (1000)
H/csoundCore.h:    MYFLT   p[PMAX + 1];
H/oload.h:        MYFLT   *sets[PMAX];
H/schedule.h:        MYFLT  *args[PMAX+1];
InOut/widgets.h://     MYFLT   *kout, *args[PMAX+1];
InOut/widgets.h:    MYFLT   *iwidth, *iheight, *ix, *iy, *args[PMAX];
InOut/widgets.h:    MYFLT   *itype, *inumx, *inumy, *iwidth, *iheight, *ix, *iy, *args[PMAX];
InOut/widgets.h:    MYFLT   *iwidth, *iheight, *ix, *iy, *args[PMAX];

I am just wondering if a  large value will cause some heap overflow and we should
really make these arrays dynamically allocated.

Victor

----- Original Message -----
From: Michael Gogins <michael.gogins@gmail.com>
Date: Friday, August 21, 2009 3:02 pm
Subject: [Csnd] Re: PMAX-question
To: csound@lists.bath.ac.uk

> What value do you need?
>
> Regards,
> Mike
>
> On 8/21/09, Schumacher Marlon
> <marlon.schumacher@music.mcgill.ca> wrote:
> > Hello,
> >
> > I had the pleasure to meet Victor Lazzarini at ICMC'09 in
> Montreal and
> > have been told that there is probably going to be a new csound
> release> soon.
> > So I wanted to take the occasion to ask, whether it would be
> possible> (for this new release) to set the PMAX variable to a
> higher value than
> > 1000?
> >
> > Best,
> > Marlon
> >
> >
> > Send bugs reports to this list.
> > To unsubscribe, send email sympa@lists.bath.ac.uk with body
> "unsubscribe> csound"
> >
>
>
> --
> Michael Gogins
> Irreducible Productions
> http://www.michael-gogins.com
> Michael dot Gogins at gmail dot com
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body
> "unsubscribe csound"

Dr Victor Lazzarini, Senior Lecturer, Dept. of Music,
National University of Ireland, Maynooth