Hi i'm struggling with this language (reference manuals have non-existant crossreferances - glorified faqs) what i want to do is hand a sub array to a function but only a range of elements ie i want to get an average from a set of data put avg(thearray[3 .. 8]) into theaverage how do i hand the function an element range of an array?? thanks Stephen