Files
mql5-skills/skills/mql5/references/docs/34-standardlibrary/2044-standardlibrary-generic-arrayreverse.md
T

32 lines
588 B
Markdown
Raw Normal View History

2026-06-23 21:47:51 +08:00
# 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.