Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!bionet!ames!hc!lanl!jlg From: jlg@lanl.gov (Jim Giles) Newsgroups: comp.lang.fortran Subject: Re: Pointer examples and 8x Message-ID: <13964@lanl.gov> Date: 27 Jun 89 23:53:44 GMT References: <6174@microsoft.UUCP> Organization: Los Alamos National Laboratory Lines: 10 From article <6174@microsoft.UUCP>, by bobal@microsoft.UUCP (Bob Allison): > [...] The only example I came up with off the top of my head was moderately > artificial and involved using the address of the pointer to indicate when > I have gone full circle in a circular linked list. [...] Bletch! Well, so much for allowing implementations which occasionally compact the heap. If you're counting on the same address (or pointer value - however they are scaled) to mark the same object each time, you're probably asking for trouble. If you need to mark a specific data object, it is better to _explicitly_ mark it.