Hi,
my friend wanted me to write some small script and I am having some
troubles with 'open function
1)
->> my-file: open %/G/non-existant-file.exe
->> insert my-file "ahoy"
->> close my-file
How's that open opens new file without usage of /new refinement?
2) I have rebol.exe on some path and once my loop get's to rebol.exe, it
fails:
->> ble: open %/G/Work/REBOL/REBOL.exe
** Access Error: Cannot open /G/Work/REBOL/REBOL.exe.
** Where: ble: open %/G/Work/REBOL/REBOL.exe
I looked at serve console and noone has REBOL.exe on above path opened
(as noone except my office folks has access to it). Is it some special
case rebol refuses open it's own executable? :-)
Well, maybe I am just missing something ....
btw: I hope open/exclusive will come in some of future REBOL versions
...
-pekr-