I add a method I named Aphabetize. Inputs a FolderItem, outputs a String Array.
I populate it with code, add code to call it, save, run and get:
Earlier (this night), in that same project, I add a data folder, tested the master data and all was OK… excepted that folder contents was skipped.
After wasting my time, I deleted that folder, create another, gave it the sme name, same contents, run the project: OK, all works as supposed…
I know about black cat in the area, but of course I do not saw one (nor this night, nor right now…).
I can be stuborn, but sometimes not, so I used Apha_Sort… instead.
The problem lied elsewhere. I need rest !
I had two troubles in the said method (one not flagged, the other a missed line - count). And the returned array was returned as Array, not Array() in the code, but correctly in the Method definition.
Breakfast, quit Xojo… hear music and comeback to discover the black cat was in my mind (this time).
For the record:
of course my FolderItem was valid and reference what I want…
No, I do not think so, I wrote it Once, and Copy / Paste Many.
But sometimes all occurences have a typo (no problem for the code only for the human who reads…)