﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
368	Success of _ArrayToClip is now -1 (used to be 1 and as still documented)	John.Rainbow@…	Gary	"The ""Success"" return of function _ArrayToClip is now -1 (older production release returned ""1"" and the current documentation for this function is also ""1"").

The workaround is either to use the new ""Success"" value of ""-1"" (not recommended in case this function is corrected to the documentation) or to test that it is <> 0

For example, Return Flag in the script below shows as ""-1"" although it was successful (according to the documentation, success = 1)

{{{
#include <Array.au3>

Local $avArray = StringSplit(""a,b,c,d,e,f,g,h,i"", "","")
$iRetCode = _ArrayToClip($avArray, 1)
MsgBox(0, ""Return Flag "", ""$iRetCode = "" & $iRetCode)
MsgBox(0, ""_ArrayToClip() Test"", ClipGet())
}}}"	Bug	closed	3.2.13.2	Standard UDFs	3.2.12.0	None	Fixed		
