Having fun with Xojo (Grr…)

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:
image

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…).

Do you experience same kind of things ?

Yes, black cats very annoying here too at night.

iCloud.
(Or the difference between debug and release builds, if your Page_FI is defined as a path relative to the executable)

What part of your program you added ‘Aphabetize’?
Is it private?
Adding a private Method to a Global Module and trying to run I get the same:

I need to change the Scope to work.

Any chance of the real one being Alphabetize() ? And you’re writing Aphabetize() ?

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…)