Can anyone tell me what determines which file in each folder is selected by $loop(%_folderpath%,1)?
I find often is is the alphabetically first, but occasionally it is the last or one in the middle. Is it just undefined i.e. pot luck?
I 'd be interested to know what determined the choice, and how I can control it, to get e.g. just the alphabetically first.
Thanks.
It's the first file of the set of files the current loop operates on.
The order of the files is -- for the outermost loop -- the order of the files in the file view or -- in all other cases -- the order of files determined by the enclosing loop.
for the outermost loop -- the order of the files in the file view
Ah, that's good, and good to know. Thanks, Florian.