In the documentation FolderItem.ChildAt(), the Index parameter is not defined (start value, etc.).
Var folderItemsCount As Integer = FolderItem.Count Var lastIndex As Integer = (folderItemsCount - 1) For i As integer = 0 To lastIndex Var f As folderItem = parentFolder.ChildAt(i) Next
Something like that…
So the Index value starts at zero ?
That is not in the Documentation.
Nor what you get if you pass an Out Of Bounds value…
The documentation does not say you can get invisible files using that Method.
you expect it to start at 10 ? or any random value ?
You can however create an issue for the documentation to be updated, but that’s something different than your question was.
No. I only said that parameter is not discussed enough.
And that was not a question.
At last, think Newbie. This is a question (s)he will get, eventually look at the documentation in vain.
Not sure where this would go. Just create an fb case for xojo to add first, last indexes to the documentation and/or add FolderItem.FirstIndex and FolderItem.lastIndex
That would sort this topic out.
There is already (sort of) one:
Did you noticed the channel name this appears on ?
Putting it on this channel is not the same as filing a bug report. It’s just a place to evangelize things to get a case more attention.