﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
1712	_FileWriteFromArray() crash.	Spiff59	Jpm	"If FileWriteFromArray() is passed other than a 1-dimension array, it crashes.

I think it could use the addition of the following line:
{{{
If UBound($a_Array, 0) > 1 Then Return SetError(4, 0, 0)
}}}

The new error condition would need to be documented in the helpfile, as well as possibly mentioning in the finction definition it's limitation to working only with single-dimension arrays.

Thank you.

PS - You'd still need this new error check (except testing for > 2), but, allowing a 1 or 2 dimension array in this function might be useful?  Seems you'd only have to nest a second loop inside the existing write loop to string together elements from the second dimension using some delimiter. An $sDelim parameter added to the function call would allow the flexibility to string columns from the second dimension into lines like:
Field1|Field2|Field3
or
Field1, Field2, Field3


"	Bug	closed	3.3.7.0	AutoIt	3.3.6.0	None	Fixed		
