AcidCorps Posted November 14, 2007 Share Posted November 14, 2007 The script: #include #include $Folder = @ScriptDir & '\Roms' $Files = _FileListToArray($Folder, '*.*') _ArrayDisplay($Files) My problem is that when I view the display everything works fine up to row 3998 and then it combines the row with the Col 0 Example: Row Col 0 3998 Faial 3999FairLight is this a limitation to _FileListToArray or perhaps something I'm doing wrong. Link to comment Share on other sites More sharing options...
smashly Posted November 14, 2007 Share Posted November 14, 2007 Hi, seems odd, I just tested with 5000 dummy zip files and I didn't seem to have that problem you described..#include<File.au3> #include<Array.au3> $TestDir = @ScriptDir & "\Test5000" DirCreate($TestDir) For $i = 1 To 5000 _FileCreate($TestDir & "\Rom" & StringFormat("%04d", $i) & ".zip") Next $FL2A = _FileListToArray($TestDir, "*", 1) _ArrayDisplay($FL2A, "Array Display 5000 Roms Test") DirRemove($TestDir, 1) cheers Link to comment Share on other sites More sharing options...
flyingboz Posted November 14, 2007 Share Posted November 14, 2007 did you try in 5000 directories? Reading the help file before you post... Not only will it make you look smarter, it will make you smarter. Link to comment Share on other sites More sharing options...
smashly Posted November 14, 2007 Share Posted November 14, 2007 (edited) Yep tested with 5000 dummy files and 5000 folders, I still don't get the quirks that AcidCorps is having#include<File.au3> #include<Array.au3> $TestDir = @ScriptDir & "\Test10000" DirCreate($TestDir) For $i = 1 To 5000 DirCreate($TestDir & "\TestDir" & StringFormat("%04d", $i)) _FileCreate($TestDir & "\Rom" & StringFormat("%04d", $i) & ".zip") Next $FL2A = _FileListToArray($TestDir, "*", 0) _ArrayDisplay($FL2A, "Array Display 5000 files & 5000 folders Test") DirRemove($TestDir, 1) Cheers Edited November 14, 2007 by smashly Link to comment Share on other sites More sharing options...
AcidCorps Posted November 14, 2007 Author Share Posted November 14, 2007 (edited) hmm, odd, I'm re-trying right now with a different directory (same files). Same thing Edited November 14, 2007 by AcidCorps Link to comment Share on other sites More sharing options...
AcidCorps Posted November 14, 2007 Author Share Posted November 14, 2007 I did a _FileWriteFromArray and it wrote the file fine with all files so I'm wondering, maybe it's an issue with _ArrayDisplay? Link to comment Share on other sites More sharing options...
MadBoy Posted November 14, 2007 Share Posted November 14, 2007 (edited) I did a _FileWriteFromArray and it wrote the file fine with all files so I'm wondering, maybe it's an issue with _ArrayDisplay?Read the documentation on beta _ArrayDisplay. If you want to show more then 4000 entries you need to use _ArrayDisplay properply Edit. never mind it seems -1 is used by default Edited November 14, 2007 by MadBoy My little company: Evotec (PL version: Evotec) Link to comment Share on other sites More sharing options...
randallc Posted November 14, 2007 Share Posted November 14, 2007 Hi, Seems there is a bug in ArrayDisplay over 3999 items in the beta; not in the 3.2.8.1 production version. Best, Randall ExcelCOM... AccessCom.. Word2... FileListToArrayNew...SearchMiner... Regexps...SQL...Explorer...Array2D.. _GUIListView...array problem...APITailRW Link to comment Share on other sites More sharing options...
randallc Posted November 14, 2007 Share Posted November 14, 2007 I have posted in bug Reports Randall ExcelCOM... AccessCom.. Word2... FileListToArrayNew...SearchMiner... Regexps...SQL...Explorer...Array2D.. _GUIListView...array problem...APITailRW Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now