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

[REBOL] Re: Changing a data in a file using open+change+close does not work?

From: greggirwin::mindspring::com at: 31-Mar-2002 15:44

Hi Micael, << 'close' does not always behave according to the rebolcore docs: Access to a port is terminated with the close function. All buffered data that has not been saved will be written to the target file. ...
>> change first a "Is this"
== " a test" >> I think you need to use the port directly, rather than changing FIRST from the port. I.e. FIRST will return a value it reads from the port, but writing to that value is not the same as writing to the port. --Gregg