Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1a 7/7/83; site rlgvax.UUCP Path: utzoo!linus!decvax!harpo!seismo!rlgvax!guy From: guy@rlgvax.UUCP (Guy Harris) Newsgroups: net.lang.c Subject: Re: Array by value - (nf) Message-ID: <1035@rlgvax.UUCP> Date: Tue, 23-Aug-83 03:40:09 EDT Article-I.D.: rlgvax.1035 Posted: Tue Aug 23 03:40:09 1983 Date-Received: Wed, 24-Aug-83 02:28:41 EDT References: <2616@uiucdcs.UUCP> Organization: CCI Office Systems Group, Reston, VA Lines: 9 The problem with the example you gave is that it was comparing the result of the assignment operator (which is its LHS, i.e. a structure) with 0. Structures and ints can't be compared; furthermore, structures can't be compared because you can't just use a quick loop/string compare instruction because it would compare any holes in the structure as well, so nobody has implemented structure comparison. Guy Harris {seismo,mcnc,we13,brl-bmd,allegra}!rlgvax!guy