is there this function?

 
i want to calculate the sum of an array,is there this fuction ? thanks
 
  1. YALEWANG:
    is there this fuction ?

  2. learn to code or pay someone. Asking for such a trivial thing is a waste of your time as well as ours. It took me under 3 minutes to type it below.

  3. YALEWANG:
    i want to calculate the sum of an array
    double ArraySum(double Array[], int count=WHOLE_ARRAY, int start=0){
        int size = ArraySize(Array);    if (count == WHOLE_ARRAY)   count   = size;
        int iLimit = start + count;     if (iLimit > size)          iLimit  = size;
        for(double sum=0; start < iLimit; start++)  sum += Array[start];
        return(sum);
    }
 

thanks,i know this method and can code it

but i want to know if there are function like arraysize,arraysort .etc system function

 
YALEWANG:
but i want to know if there are function like arraysize,arraysort .etc system function
What part of

RTFM

was unclear?