Bill Lam wrote: 'You may try if lbound and ubound is available.'
Thanks for this: yes they are, and they may well do what I want. Tom Arneson wrote: 'I use both Excel and J. I prefer J, but my students learn and understand Excel faster than J. I would use the average function in Excel ,=AVERAGE(A1:A50), rather than trying to get Excel to execute J sentence +/ % # on the same range.' Yes, but I am groping towards my target which is to write an .ijs file containing mean=: +/ % # and to see it showing up in Excel's function repertoire via the use of j.dll. I chose to write a function 'mean' in VBA first - for the sake of learning, but even got stuck on that! Ultimate target is to provide sophisticated bespoke J functions, not mean. Graham ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
