[gforth] / gforth / string.fs  

gforth: gforth/string.fs

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

version 1.9, Sat Sep 4 21:34:23 2010 UTC version 1.10, Thu Dec 30 21:46:14 2010 UTC
Line 50 
Line 50 
   >r 2dup r> scan dup >r dup IF  1 /string  THEN    >r 2dup r> scan dup >r dup IF  1 /string  THEN
   2swap r> - 2swap ;    2swap r> - 2swap ;
   
 : $iter ( .. $addr char xt -- .. ) { char xt }  : $iter ( .. $addr char xt -- .. ) >r >r
   $@ BEGIN  dup  WHILE  char $split >r >r xt execute r> r>    $@ BEGIN  dup  WHILE  r@ $split i' -rot >r >r execute r> r>
      REPEAT  2drop ;       REPEAT  2drop rdrop rdrop ;


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