[REBOL] Re: File-modes on different platforms
From: anton:lexicon at: 18-May-2002 21:30
Thanks to all of you.
Ok, I have:
- Windows 2000
- Linux
Ok, anyone who wants to help me on:
- Amiga, Mac, BSD or any other platform
than Windows 2000 or Linux, run this script and report the results:
print reform [join "REBOL/" system/product system/version system/build/date]
save file: %anton-filemode-test "" ; create a file to experiment on
foreach mode get-modes %dummy 'file-modes [
print [
type? get-modes file mode
mode
if error? set/any 'err try [
set-modes file compose [
(to-set-word mode) (get-modes file mode)
]
][mold disarm err] ; <- mold instead of probe
]
]
delete file ; clean up
Anton.