Files
mql5-skills/skills/mql5/references/docs/34-standardlibrary/2044-standardlibrary-generic-arrayreverse.md
T
2026-06-23 21:47:51 +08:00

588 B

ArrayReverse

Changes the sequence of elements in a one-dimensional array.

template<typename T>
bool ArrayReverse(
   T&         array[],         // the source array
   const int  start_index,     // the starting index
   const int  count            // the number of elements
   );

Parameters

&array[]

[out]  The source array.

start_index

[in]  The starting index.

count

[in]  The number of array elements participating in the operation.

Return Value

Returns true on successful, or false otherwise.