[gforth] / gforth / environ.fs  

gforth: gforth/environ.fs

Diff for /gforth/environ.fs between version 1.9 and 1.10

version 1.9, Fri Oct 25 17:09:43 1996 UTC version 1.10, Tue Jan 14 16:30:50 1997 UTC
Line 22 
Line 22 
   
 Create environment-wordlist  wordlist drop  Create environment-wordlist  wordlist drop
   
 : environment? ( c-addr u -- false / ... true )  : environment? ( c-addr u -- false / ... true ) \ core environment-query
     environment-wordlist search-wordlist if      environment-wordlist search-wordlist if
         execute true          execute true
     else      else
Line 53 
Line 53 
   
 0 1 2constant gforth \ minor major version  0 1 2constant gforth \ minor major version
   
 \ !! RETURN-STACK-CELLS  : return-stack-cells ( -- n )
 \ !! STACK-CELLS      [ forthstart 6 cells + ] literal @ cell / ;
 \ !! floating-stack  
   : stack-cells ( -- n )
       [ forthstart 4 cells + ] literal @ cell / ;
   
   : floating-stack ( -- n )
       [ forthstart 5 cells + ] literal @ float / ;
   
 \ !! max-float  \ !! max-float
 15 constant #locals \ 1000 64 /  15 constant #locals \ 1000 64 /
     \ One local can take up to 64 bytes, the size of locals-buffer is 1000      \ One local can take up to 64 bytes, the size of locals-buffer is 1000


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

CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help