Yes, detecting and reporting errors would be very helpful. But synonym
support would also be worth considering here, too. I think PDL has a module
for processing keyword-based argument, but I can't recall what it is at the
moment. Anybody know what I'm talking about?

David

P. S. This is my first PDL email since late January because I've been
consumed by my teaching. I am now back for the summer. Sorry for being gone
for so long, but it's nice to be back. :-)


On Sun, Feb 9, 2014 at 11:13 AM, Chris Marshall <[email protected]>wrote:

> With named input args, couldn't an error be given if an
> unhandled parameter name was given?
>
> On Fri, Feb 7, 2014 at 11:19 AM, Ingo Schmid <[email protected]> wrote:
> > Hi,
> >
> > sorry, stupid of me, of course it's h_stop, not h_end.
> >
> > Ingo
> >
> > On 02/07/2014 04:54 PM, Ingo Schmid wrote:
> >> Hi,
> >>
> >> I tried to define a palette going from blue to white (or the other way
> >> round):
> >>
> >>
> $u=pal::HSVrange(h_start=>240,h_end=>240,s_start=>0,s_end=>1,v_start=>1,v_end=>1,gamma=>3);
> >> $t=sequence(16)*ones(16,16);
> >> plot (-t=> ds::Grid($t,bounds=>[0,0,1,1,],plotType =>
> >> pgrid::Matrix(palette =>$u)));
> >>
> >>
> >> Looks like a bug to me?
> >>
> >> Ingo
> >>
> >>
> >> _______________________________________________
> >> Perldl mailing list
> >> [email protected]
> >> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
> >>
> >
> >
> > _______________________________________________
> > Perldl mailing list
> > [email protected]
> > http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
>



-- 
 "Debugging is twice as hard as writing the code in the first place.
  Therefore, if you write the code as cleverly as possible, you are,
  by definition, not smart enough to debug it." -- Brian Kernighan
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to