Re: Difference between for and while loop
On Fri, Apr 18, 2003 at 11:08:01PM +0200, Jan Trippler wrote:
> On Fre, 18 Apr 2003 at 12:30 (-0700), Craig Dickson wrote:
> > Jan Trippler wrote:
> [...]
> >
> > What? That's completely wrong. The test in a for loop in C in checked at
> > the TOP of the loop, before the first execution of the body.
>
> *argl*, yes, you're right. I didn't test it - there must have been a
> *long time ago learned fact* (for a language I don't remember)
> stayed in my brain - firmware update needed ;-)
>
Are you thinking of the assembly language problem of
entering a loop with cx=0?
David
Reply to: