home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Message-ID: <zp0e60aC1XREZf0@pp78hsp.hsp.owl.de>
- From: T.EICHER@HSP.owl.de (Thomas Eicher)
- Path: hsp.owl.de!T.EICHER
- Subject: Exec Lists once again
- Date: Tue, 02 Jan 1996 22:49:06 +0100
- X-Mailer: Zodiac's Point 37.204 [REGISTERED 00F0]
- X-Gateway: ZCONNECT UP luxor.owl.de [UNIX/Connect v0.73]
- MIME-Version: 1.0
- Content-Type: text/plain; charset=ISO-8859-1
- Content-Transfer-Encoding: 8bit
- X-Z-PGP-KEY-AVAIL:
-
-
- Sorry, seems I still don't get it.
-
- RKMs tell me that lh_TailPred is the last Node in List while
- lh_Tail is NULL.
-
- So - in a loop with struct Node *np = np.lh_Succ a few times - why
- are the following expressions not equivalent ?
-
- (and they aint!)
-
- while (np->ln_Pred != namelist.lh_TailPred)
-
- while (np! = namelist.lh_Tail)
-
- The first one gives the correct result. How would I phrase it in
- a straightforward way ?
-
- Thanks anyway :-)
-
- mfg, Tom.
- <mailto:t.eicher@hsp.owl.de><http://royal.owl.de/~eicher/>
- --
-
- Windows for the masses - Amiga for the creative mind :^)
-