[gforth] / gforth / prim  

gforth: gforth/prim

Diff for /gforth/prim between version 1.24 and 1.25

version 1.24, Tue Feb 16 06:32:30 1999 UTC version 1.25, Sun Feb 21 11:43:12 1999 UTC
Line 512 
Line 512 
  dup 0< IF  drop -1  ELSE  0>  1 and  THEN  ;   dup 0< IF  drop -1  ELSE  0>  1 and  THEN  ;
   
 toupper c1 -- c2        gforth  toupper c1 -- c2        gforth
 ""For a character a-z, convert to the equivalent upper-case  ""If @var{c1} is a lower-case character (in the current locale), @var{c2}
 character. All other characters are unchanged.""  is the equivalent upper-case character. All other characters are unchanged.""
 c2 = toupper(c1);  c2 = toupper(c1);
 :  :
  dup [char] a - [ char z char a - 1 + ] Literal u<  bl and - ;   dup [char] a - [ char z char a - 1 + ] Literal u<  bl and - ;


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

CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help