version 1.187, 2006/01/29 18:34:33
|
version 1.189, 2006/02/19 17:27:12
|
Line 719 c2 = toupper(c1);
|
Line 719 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 - ; |
|
|
|
capscompare ( c_addr1 u1 c_addr2 u2 -- n ) string |
|
""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} |
|
is 1. Currently this is based on the machine's character |
|
comparison. In the future, this may change to consider the current |
|
locale and its collation order."" |
|
/* close ' to keep fontify happy */ |
|
n = capscompare(c_addr1, u1, c_addr2, u2); |
|
|
/string ( c_addr1 u1 n -- c_addr2 u2 ) string slash_string |
/string ( c_addr1 u1 n -- c_addr2 u2 ) string slash_string |
""Adjust the string specified by @i{c-addr1, u1} to remove @i{n} |
""Adjust the string specified by @i{c-addr1, u1} to remove @i{n} |
characters from the start of the string."" |
characters from the start of the string."" |
Line 1672 with the window size.""
|
Line 1681 with the window size.""
|
urows=rows; |
urows=rows; |
ucols=cols; |
ucols=cols; |
|
|
|
wcwidth ( u -- n ) gforth |
|
""The number of fixed-width characters per unicode character u"" |
|
n = wcwidth(u); |
|
|
flush-icache ( c_addr u -- ) gforth flush_icache |
flush-icache ( c_addr u -- ) gforth flush_icache |
""Make sure that the instruction cache of the processor (if there is |
""Make sure that the instruction cache of the processor (if there is |
one) does not contain stale data at @i{c-addr} and @i{u} bytes |
one) does not contain stale data at @i{c-addr} and @i{u} bytes |