Justin Couch wrote:

> [*sigh*] I didn't really want to get into this one deeply. Why does
> everyone insist on taking and ripping apart even the illustrative
> examples. :(

It was actually my intetion to relieve you of writing the
wery long answer to an apparently simple question.

>
>
> Right, simple answer all in one mail.
>
> Bo Nygaard Bai wrote:
>
>> I would have to disagree with you on that Justin. But only because
>> the first loop runs count times and the second runs count-1 times.
>> So I'll assume you meant:
>>
>> for (int i = 0; i < count; i++)
>>
>> Old hackers makes mistakes too, ehh [:-)]
>
>
> Actually, no, you made the mistake. Take a look carefully at the loop
> invariant part. The instrucion is exactly:
>
> --i >= 0

Ooops! You are right of cause.
It just goes to prove my second stament :-)
I should have suspected when i ended up branching on sign and not on zero.

/Bo Bai

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to