toggle target window. your (almost) daily dose of piefke 3000 – in furry english. touch
recent comments
outbound link summary:
Wednesday, 30. December 2009, 09:32
p3k dots
new javascript operator discovered.
var x = 10;
while (x --> 0) // x goes to 0
{
   document.writeln(x);
}
 p3k bullet

ppp, 2009.12.30, 14:17
p3k dots
var x = 0;
while (x ++< 10) // x goes to 10
{ document.writeln(x); }

the other direction, in case you wondered... neety shortcut, though i like groovy ranges better ( groovy.codehaus.org )

p3k, 2009.12.30, 14:51
p3k dots
the other direction is not so easy to fall for – thus, less groovy, anyway :)

Please login to add a comment
find


RSS feed
ISSN 1608-4624

fertilized by antville.