Path: utzoo!mnetor!tmsoft!dptcdc!jarvis.csri.toronto.edu!rutgers!psuvax1!psuvm!cunyvm!byuvax!taylorj From: taylorj@yvax.byu.edu Newsgroups: comp.lang.pascal Subject: Re: TP50: Typed constants Message-ID: <720taylorj@yvax.byu.edu> Date: 22 Jul 89 05:22:41 GMT Lines: 11 I'm 99.9% sure it's your fault and not Turbo Pascal's. You probably have uninitialized pointers and are writing over the top of the area in memory where the typed constants are stored. When you changed them to variables they were stored in a different place, so they didn't get written over (but something else probably did!). This type of behavior can also occur if you pass too small a buffer to some procedures such as GetImage, BlockRead, etc. Use the debugger (or put in lot's of writelns) and find out exactly when in your program the constants are being changed. Jim Taylor Microcomputer Support for Curriculum | Brigham Young University | Bitnet: taylorj@byuvax.bitnet 101 HRCB, Provo, UT 84602 | Internet: taylorj@yvax.byu.edu