[gforth] / gforth / stuff.fs  

gforth: gforth/stuff.fs

Diff for /gforth/stuff.fs between version 1.3 and 1.4

version 1.3, Tue Feb 13 11:12:19 1996 UTC version 1.4, Thu May 23 15:13:13 1996 UTC
Line 32 
Line 32 
 : ?CSP ( -- )  : ?CSP ( -- )
     sp@ csp @ <> -22 and throw ;      sp@ csp @ <> -22 and throw ;
   
   \ DMIN and DMAX
   
 : dmin ( d1 d2 -- d ) \ double  : dmin ( d1 d2 -- d ) \ double
     2over 2over d< IF  2swap  THEN 2drop ;      2over 2over d< IF  2swap  THEN 2drop ;
   
 : dmax ( d1 d2 -- d ) \ double  : dmax ( d1 d2 -- d ) \ double
     2over 2over d> IF  2swap  THEN 2drop ;      2over 2over d> IF  2swap  THEN 2drop ;
   
   \ shell commands
   
   0 Value $?
   
   : system ( addr u -- ) \ gforth
       (system) throw TO $? ;
   : sh ( "..." -- ) \ gforth
       '# parse cr system ;
   


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

CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help