Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: File-modes on different platforms

From: anton:lexicon at: 19-May-2002 15:40

This is a call-out to everyone with different OS's than mine. Thankyou Micael, Tom. Platforms with results so far: - Windows 2000 - Linux - Sun Solaris Sparc Right, I need: - Amiga - Mac - BSD - (and any others). (Come on, Gabriele! I know you have an Amiga...) Simply run this script and report the results back to the list. You don't have to do anything else: 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.