Modify ↓
#1023 closed Bug (Fixed)
Error in document _FileListToArray
| Reported by: | anonymous | Owned by: | J-Paul Mesnage |
|---|---|---|---|
| Milestone: | 3.3.1.2 | Component: | Documentation |
| Version: | 3.3.0.0 | Severity: | None |
| Keywords: | Cc: |
Description
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")
Attachments (0)
Change History (2)
comment:1 by , 17 years ago
| Milestone: | → 3.3.1.2 |
|---|---|
| Owner: | set to |
| Resolution: | → Fixed |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

Fixed in version: 3.3.1.2