Re: [cc65]Unusuall?

Date view Thread view Subject view

From: troy silvey (tbsilvey_at_juno.com)
Date: 2001-01-03 03:42:28


>> while ((c = *value) != 39 && c != 62) {
>> <stuff>
>> }
>
>Forgive me, but if my memory serves me right, C (at least pre-ANSI) 
>does NOT define the order in which this will be evaluated, so the second
part 
>(c!=62) might be evaluated BEFORE the first part with the assignment, in
that 
>case, this will NOT evaluate to the expected condition.
 
In my reading of ANSI C, it says that the (c=*value) would be first.....
I think. Is this wrong?

troy

________________________________________________________________
GET INTERNET ACCESS FROM JUNO!
Juno offers FREE or PREMIUM Internet access for less!
Join Juno today!  For your FREE software, visit:
http://dl.www.juno.com/get/tagj.
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2001-12-14 22:05:38 CET