Data update
This commit is contained in:
parent
ed705008a8
commit
0df55f9f24
2196 changed files with 32999 additions and 3075 deletions
|
|
@ -7,7 +7,7 @@ extension op
|
|||
ordinalize()
|
||||
{
|
||||
int i := self.Absolute;
|
||||
if (new int[]{11,12,13}.ifExists(i.mod:100))
|
||||
if (new int[]{11,12,13}.ifExists(i.mod(100)))
|
||||
{
|
||||
^ i.toPrintable() + "th"
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import "/fmt" for Conv
|
||||
import "./fmt" for Fmt
|
||||
|
||||
var ranges = [ 0..25, 250..265, 1000..1025 ]
|
||||
for (r in ranges) {
|
||||
r.each { |i| System.write("%(Conv.ord(i)) ") }
|
||||
r.each { |i| Fmt.write("$r ", i) }
|
||||
System.print("\n")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue