Time for an 2014 update…

This commit is contained in:
Ingy döt Net 2014-01-17 05:32:22 +00:00
parent 372c577f83
commit 09687c4926
2520 changed files with 34227 additions and 7318 deletions

View file

@ -0,0 +1 @@
FOR I = 10 TO 0 STEP -1 : PRINT I : NEXT I

View file

@ -0,0 +1,3 @@
FOR i := 10 TO 0 STEP -1
? i
NEXT

View file

@ -0,0 +1,3 @@
for i in [10, 9 .. 0] do
Print(i, "\n");
od;

View file

@ -0,0 +1,3 @@
for i in 10:-1:0
println(i)
end

View file

@ -0,0 +1 @@
[i for i in xrange(10, -1, -1)]

View file

@ -0,0 +1,2 @@
import pprint
pprint.pprint([i for i in xrange(10, -1, -1)])

View file

@ -0,0 +1,7 @@
// rust 0.9-pre
fn main() {
for i in std::iter::range_inclusive(0, 10).invert() {
println!("{}", i);
}
}