Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!ames!haven!mimsy!chris From: chris@mimsy.UUCP (Chris Torek) Newsgroups: comp.lang.fortran Subject: Re: Pointer examples and 8x Message-ID: <18265@mimsy.UUCP> Date: 24 Jun 89 16:39:26 GMT References: <158@unmvax.unm.edu> <18236@mimsy.UUCP> Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 14 In article <18236@mimsy.UUCP> I wrote: >... here is a correct version ... > newnode->next = p; Aaack! That should have been `newnode->next = *p'. >... we make the new node's `next' field be p (nil---the end marker---or ... Again, *p. (And I had just noted that p itself is never nil!) (Actually, I had added the original parenthetical notes later, and propagated a typo when I typed the last quoted line above. Oh well.) -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163) Domain: chris@mimsy.umd.edu Path: uunet!mimsy!chris