Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!unmvax!brainerd From: brainerd@unmvax.unm.edu (Walt Brainerd) Newsgroups: comp.lang.fortran Subject: Re: Pointer examples and 8x Summary: Oops Message-ID: <167@unmvax.unm.edu> Date: 22 Jun 89 23:53:06 GMT References: <638hallidayd@yvax.byu.edu> Organization: University of New Mexico at Albuquerque Lines: 27 In article <638hallidayd@yvax.byu.edu>, hallidayd@yvax.byu.edu writes: > By the way Walt, even your Fortran 8x example needs only one pointer (for the > walk) > You are right, but two are needed for the insertion, anyway. I warned you that there probably would be bugs in the examples. Of course, I put in a couple just to see if anyone is paying attention! > Thus the construct > > TRAIL_PTR = TMP_PTR > > used in Walt's code will accomplish the wrong thing, ... It sure does do the wrong thing: = should be =>, of course. The following lines do indeed fix another error. Just fell asleep while either coding or typing, I guess! > TMP_L % NEXT => L ! Modified > L => TMP_L ! lines Has anyone seen Bob ("walk thru") Allison's nonrecursive version of my tree printing routine, yet? Walt Brainerd Unicomp, Inc. brainerd@unmvax.cs.unm.edu