Thank you Brian.


>> Yes, this is the expected behavior. The result of read %/dir/
>> is a block containing the names of the files in that directory
>> as relative filenames. When you use modified? on relative names
>> directly, it treats them as relative to the current directory.

>> The way to fix that is to change them back to absolute names,
>> like this:
>>    foreach file (read %/d/dir1/) [
>>        file: join %/d/dir1/ file  ; This line does the trick
>>        print [file modified? file]
>>    ]

>> Does that help?

It sure does. 

Mike.



Reply via email to