[gforth] / gforth / blocks.fs  

gforth: gforth/blocks.fs

Diff for /gforth/blocks.fs between version 1.5 and 1.6

version 1.5, Tue Aug 29 21:07:33 1995 UTC version 1.6, Wed Sep 6 21:00:10 1995 UTC
Line 39 
Line 39 
 Defer flush-file  Defer flush-file
   
 : use-file ( addr u -- )  : use-file ( addr u -- )
     block-fid @  IF  flush-file block-fid @ close-file throw  THEN  
     2dup r/w bin open-file 0<>      2dup r/w bin open-file 0<>
     if      if
         drop r/w bin create-file throw          drop r/w bin create-file throw
     else      else
         nip nip          nip nip
     then      then
       block-fid @ IF  flush-file block-fid @ close-file throw  THEN
     block-fid ! ;      block-fid ! ;
   
 \ the file is opened as binary file, since it either will contain text  \ the file is opened as binary file, since it either will contain text


Generate output suitable for use with a patch program
Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help