Files
mql5-skills/skills/mql5/references/docs/34-standardlibrary/2097-standardlibrary-fileoperations-cfilebin-cfilebinreadshortarray.md
T
2026-06-23 21:47:51 +08:00

588 B

ReadShortArray

Reads an array of short or ushort type variables from file.

bool  ReadShortArray(
   short&  array[],            // array
   int     start_item=0,       // start element
   int     items_count=-1      // number of elements
   )

Parameters

array[]

[in]  Reference to the variable for placing read data.

start_item=0

[in]  Start element to read from.

items_count=-1

[in]  Number of elements to read (-1 - read to the end of file).

Return Value

true - successful, false - cannot read the data.