Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!ut-emx!newman From: newman@ut-emx.UUCP (Dave Newman) Newsgroups: comp.sys.mac.programmer Subject: List Manager Problem Message-ID: <11032@ut-emx.UUCP> Date: 7 Mar 89 16:18:56 GMT Reply-To: newman@ut-emx.UUCP (David Newman) Distribution: usa Organization: UTexas Computation Center, Austin, Texas Lines: 35 A Question about the list manager and modal dialogs. I am trying to put a scrolling list into a modal dialog; the problem is that my repeat loop goes 10 or 12 times and then a system error of some kind occurrs. MacsBug says that the program counter is 0 at this point. My repeat loop looks like this: repeat modalDialog(@listFilter,itemHit); until itemHit = OK; The filter proc isn't doing anything because this happens when I just start the dialog and wait, and it ignores all but mouseDown and keyDown events. Alternately, I seem to get an ADDR ERR 00000001. Does this mean that I am trying to address something at byte 1? I'm not sure how many times the repeat loop goes in this case. I'm using Turbo Pascal on an SE. (I know, I should switch to another language, but ... ) Thanks for any assistance you can give me! >>Dave newman@emx.cc.utexas.edu P.S. Can someone suggest a) a better debugger for use with Turbo Pascal, and b) why the {D+} compiler directive doesn't seem to make a damn bit of difference.