TradeMUX SDK Documentation  1.0
TradeMUX SDK Documentation
int FileWriteArray< T > ( int  handle,
TMXArray< T >  array,
int  start,
int  count 
)

Writes arrays of any type except for string to a BIN file

Template Parameters
TType of source array values
Parameters
handleFile descriptor returned by FileOpen()
arraySource array
startInitial index in the array (number of the first recorded element)
countNumber of items to write (WHOLE_ARRAY means all items starting with the number start until the end of the array)
Returns
Number of elements written or 0 in case of error. To obtain information about the error call the GetLastError() function