﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
1023	Error in document _FileListToArray	anonymous	Jpm	"There's an error in the example of _FileListToArray

{{{
#Include <File.au3>
#Include <Array.au3>
$FileList=_FileListToArray(@DesktopDir)
If @Error=1 Then
    MsgBox (0,"""",""No Files\Folders Found."")
    Exit
EndIf
_ArrayDisplay($FileList,""$FileList"")
}}}
The @error should be = to 4 not 1
{{{
#Include <File.au3>
#Include <Array.au3>
$FileList=_FileListToArray(@DesktopDir)
If @Error=4 or @Error=1 Then
    MsgBox (0,"""",""No Files\Folders Found."")
    Exit
EndIf
_ArrayDisplay($FileList,""$FileList"")
}}}"	Bug	closed	3.3.1.2	Documentation	3.3.0.0	None	Fixed		
