﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
755	_FileReadToArray broken in 3.3.0.0	Melba23	Jpm	"If an array containing empty elements is saved by _FileWriteFromArray, it can no longer be read by _FileReadToArray, which returns error 2 ""cannot split file"".

I track whether certain files listed in an array have already been accessed by creating a shadow array of the same size and setting its elements to 1 when the corresponding file in the first array is accessed.  The shadow array is then saved on exit using _FileWriteFromArray.  On startup I load the shadow file and compare its size to the array created from the files on disk as a form of checksum.  Under 3.3.0.0 the shadow array, which contains a great number of empty elements (ie long strings of 0x0D0A interspersed with the odd 1), will not load as an array.  I have substituted the ""old"" _FileReadToArray UDF from 3.2.12.1 and the file loads to an array without problem.  

Creating the array and then setting all elements to 0 in a loop does enable the ""new"" _FileReadToArray UDF from 3.3.0.0 to read the array, so the problem does appear to be with the empty elements."	Bug	closed	3.3.1.0	AutoIt	3.3.0.0	None	Fixed	filereadtoarray	
