It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
avatar
Miaghstir: for(x=1, x<=1000000, x++) {
echo x;
}
there, are we done now?

Woah, totally geek programming joke. I love it. Maybe the original poster will Go Sub without Return and this kinda of topic wont happen again.
I have just counted to one million. in my head.
really.
I am sooo not lieing.
Do I win something too?
avatar
lukaszthegreat: I have just counted to one million. in my head.
really.
I am sooo not lieing.
Do I win something too?

You win a hug with Edward Scissorhands.
I assume you mean in base10...
avatar
Ois: I assume you mean in base10...

Hexadecimal only!
avatar
Miaghstir: for(x=1, x<=1000000, x++) {
echo x;
}
there, are we done now?

Does not compile?
avatar
TheJoe: Oh well I tried. I bet if catmeat goes and makes this topic again though people will count.

Of course they will, what do you expect?
avatar
Ois: I assume you mean in base10...
avatar
JudasIscariot: Hexadecimal only!

binary, probably the shortest way to count to 1000000, adding one all the way beginning with 1.
1, 10, 11, 100, 101, 110, 111, 1000, 1001, 1010, 1011, 1100, 1101, 1110, 1111, 10000, 10001, 10010, 10011, 10100, 10101, 10110, 10111, 11000, 11001, 11010, 11011, 11100, 11101, 11110, 11111, 100000, 100001, 100010, 100011, 100100, 100101, 100110, 100111, 101000, 101001, 101010, 101011, 101100, 101101, 101110, 101111, 110000, 110001, 110010, 110011, 110100, 110101, 110110, 110111, 111000, 111001, 111010, 111011, 111100, 111101, 111110, 111111, 1000000
...though that's 64 in decimal (40 in hex, 100 in octal I believe), does it count? what do I win?
Post edited March 29, 2009 by Miaghstir