Xref: utzoo comp.lang.c:7425 comp.sys.m68k:770 Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!decwrl!pyramid!prls!philabs!micomvax!ray From: ray@micomvax.UUCP (Ray Dunn) Newsgroups: comp.lang.c,comp.sys.m68k Subject: Re: C machine and "=" vs "==" Message-ID: <908@micomvax.UUCP> Date: 16 Feb 88 19:12:36 GMT References: <7092@brl-smoke.ARPA> <1186@cooper.cooper.EDU> Reply-To: ray@micomvax.UUCP (Ray Dunn) Organization: Philips Electronics Ltd. (TDS - Montreal) Montreal, Canada Lines: 14 In article <1186@cooper.cooper.EDU> gene@cooper.cooper.EDU (Gene (the Spook)) writes: >.... > (ptr) p1 = (ptr) p0 + (int) d > >Simply, add an integer displacement to a pointer, and you'll get another >pointer. With a little algebra, solve for 'd'. You'll get..... Here we have a classic example of the "=" instead of "==" user!!! "Solve for"?? In an *assignment statement*?? Sorry Gene, this is not meant as an attack on you, only to underscore my scorn for those who say the "=" vs "==" thing is not a problem!! Ray Dunn. ..philabs!micomvax!ray