Windows 7 Ultimate x64
Open Object Rexx Version 4.1.2
Build date: Aug 28 2012
Addressing Mode: 64
In a routine with code:
Mask = 'D:\ProgramData\webcamXP 5\WWWRoot\Gallery*'
Call SysFileTree mask,'F.','FL'
If F.0 > 0 then call SysStemSort 'F.'
... then a Syntax error in SysStemSort
This is because variables F.52152 to F.52159 (inclusive; 8 files) were undefined.
I have checked the actual directory, and the 8 files missing from the stem are NOT missing on disk; they are still there, and have been for a couple of weeks. Thus they weren't erased whilst SysFileTree was running.
So, I wrote a test program to execute just the code above, and it works. So, I re-ran the original program, and that now works. So the problem is intermittent.
You have my sympathy trying to find the cause of this. The original program is still running, in "Trace ?r" mode, in its' Syntax handler, but my system will Auto-reboot if left too long, so if you want any details that I can extract, you'll have to ask quickly.