###User Defined Function###
_ArrayCombinations

###Description###
Returns an array of the Combinations of a Set of Elements from a Selected 1 dimensional array

###Syntax###
#include <Array.au3>
_ArrayCombinations ( Const ByRef $aArray, $iSet [, $sDelimiter = ""] )


###Parameters###
@@ParamTable@@
$aArray
	The Array to use
$iSet
	Size of the combinations set
$sDelimiter
	[optional] String result separator, default is "" for none
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	an array of Combinations
	The first element ($aArray[0]) contains the number of strings returned.
	The remaining elements ($aArray[1], $aArray[2], etc.) contain the Combinations.
Failure:	sets the @error flag to non-zero.
@error:	1 - The Input Must be an Array
	2 - $aArray is not a 1 dimensional array
@@End@@


###Remarks###
The input array must be 0-based, i.e. no counter in $aArray[0]. Based on an algorithm by Kenneth H. Rosen.


###Related###
_ArrayPermute


###Example###
@@IncludeExample@@
