On Monday, Nov 17, 2003, at 09:04 US/Pacific, Jeff 'japhy' Pinyan wrote:
[..]
which only reads ONE line at a time, whereas
for () { ... }
reads ALL the lines of the file at once, into a list.
really good point there.
but wouldn't the position been just a tad stronger
had you noted that the abo
On Nov 17, angie ahl said:
>I keep getting hung up on deciding whether to use for or while for
>loops.
Well, it usually depends on how the code "reads". I use 'while' for loops
based on a condition that will change in some execution of the block.
while () {
# eventually, will return unde