Jump to content
Sign in to follow this  
compact21

_FileListToArrayRec returning count number in first element

Recommended Posts

compact21

Hello, my code looks like this:

#include <File.au3>
#include <Array.au3>
Local $aArr = @DesktopDir & "\dir1"
Local $FileList = _FileListToArrayRec(@DesktopDir & "\dir1", "*", $fltar_folders, -1)
_ArrayColDelete($FileList, 1)
_ArrayDisplay($FileList, "1D display") 

Could someone help me get rid of the first counting element please?

Edited by compact21

Share this post


Link to post
Share on other sites
InunoTaishou

It's only a 1D array so if you really wanted to get rid of the 0 element

;_ArrayColDelete($FileList, 1)
_ArrayDelete($FileList, 0)

 

Share this post


Link to post
Share on other sites
compact21

thanks

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×