The function writes arrays of any type except for string to a BIN file (can be an array of structures not containing strings or dynamic arrays).
[in] File descriptor returned by FileOpen().
[out] Array for recording.
[in] Initial index in the array (number of the first recorded element).
[in] Number of items to record (WHOLE_ARRAY means that records all items starting with the number start until the end of the array).
Number of recorded items.
String array can be recorded in a TXT file. In this case, strings are automatically ended by the line end characters "\r\n". Depending on the file type ANSI or UNICODE, strings are either converted to ansi-encoding or not.