Name

SubArray —

Synopsis

arraySubArray(start, end);
int start;
int end;

Description

Return a portion of the array from start to end

Parameters

start

The first element to include in result array

end

The last element to include in result array

Returns

An array part of the original

Note

Causes error.array.ErrBadStartIndex if start parameter is less than or if it is greater than the dimension of the array. If start is 0, than the sub array begins with the first element of the array. Causes error.array.ErrBadEndIndex if end parameter is less than 0. If end is 0, than the sub array ends with the last element of the array.