[gforth] / gforth / prim  

gforth: gforth/prim

Diff for /gforth/prim between version 1.222 and 1.223

version 1.222, Mon Dec 31 18:40:24 2007 UTC version 1.223, Sun Jan 13 16:02:37 2008 UTC
Line 702 
Line 702 
 :  :
  dup [char] a - [ char z char a - 1 + ] Literal u<  bl and - ;   dup [char] a - [ char z char a - 1 + ] Literal u<  bl and - ;
   
 capscompare     ( c_addr1 u1 c_addr2 u2 -- n )  string  capscompare     ( c_addr1 u1 c_addr2 u2 -- n )  gforth
 ""Compare two strings lexicographically. If they are equal, @i{n} is 0; if  ""Compare two strings lexicographically. If they are equal, @i{n} is 0; if
 the first string is smaller, @i{n} is -1; if the first string is larger, @i{n}  the first string is smaller, @i{n} is -1; if the first string is larger, @i{n}
 is 1. Currently this is based on the machine's character  is 1. Currently this is based on the machine's character


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

CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help