On Sat, 2 Aug 2008, Riccardo (Jack) Lucchetti wrote:
On Sat, 2 Aug 2008, Gordon Hughes wrote:
> matrix xvals=values(x)
> scalar mxval=maxc(xvals)
> list dlist=dummify(x, mxval)
>
> so I would be happy with your suggestion.
Surely, you mean
list dlist = dummify(x, max(c))
max(x)? That wouldn't work for a list argument, would it?
We could insist that dummify takes a series argument, not a list.
That would be backward-incompatible but probably wouldn't disturb
anyone.
Allin.