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

32 lines
588 B
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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.