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 write (WHOLE_ARRAY means that all items starting with the number start until the end of the array will be written).
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.