﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
1520	_ArrayAdd doesn't work after _ArrayDelete has removed the last element	snarks@…	Gary	"_ArrayDelete returns an empty string after the last element of an array has been removed. _ArrayAdd will not then work, as the variable is no longer an array.

_ArrayAdd could be simply amended to test for an empty string and assign a one-element array to the variable, possinly using the internal _ArrayCreate function.

Alternatively, if the existing behaviour of not being able to replace an empty string with an array needs to be conserved, _ArrayDelete could be amended to return a special value that could then be detected by _ArrayAdd. I don't know enough about the AutoIt internals to know if such a special value could be crafted that would not clash with existing functionality or cause additional problems to such functions as UBound() which should retain its existing behaviour of returning 0 for an ""empty array"" special value."	Bug	closed		Standard UDFs	3.3.4.0	None	No Bug		
