Even more baffaling is this:
If you change the first ++ to be a postincrement instead of a preincrement, it prints 0 to 12, just what I would expect, but still not my desired 1 to 12.for($.++...$.++.$.){print"$_\n"}
More baffled than ever:
The 15 year old, freshman programmer,
Stephen Rawls
In reply to Re: For loop problem
by srawls
in thread For loop problem
by srawls
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |