[gforth] / gforth / stuff.fs  

gforth: gforth/stuff.fs

Diff for /gforth/stuff.fs between version 1.51 and 1.52

version 1.51, Sun May 7 05:46:47 2006 UTC version 1.52, Thu Dec 28 14:52:20 2006 UTC
Line 352 
Line 352 
 ' ul@ alias l@ ( addr -- u )  ' ul@ alias l@ ( addr -- u )
 \ ' sw@ alias <w@ ( addr -- n )  \ ' sw@ alias <w@ ( addr -- n )
 [then]  [then]
   
   \ safe output redirection
   
   : to-outfile-id ( file-id -- )
       to outfile-id ;
   
   : >outfile ( file-id -- r:old-file-id )
       ]] outfile-id >r try to-outfile-id [[ ; immediate compile-only
   
   : outfile< ( r:old-file-id -- )
       0 ]] literal recover endtry r> to-outfile-id throw [[
   ; immediate compile-only
   
   : to-infile-id ( file-id -- )
       to infile-id ;
   
   : >infile ( file-id -- r:old-file-id )
       ]] infile-id >r try to-infile-id [[ ; immediate compile-only
   
   : infile< ( r:old-file-id -- )
       0 ]] literal recover endtry r> to-infile-id throw [[
   ; immediate compile-only


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

CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help