Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!decwrl!shlump.dec.com!mountn.dec.com!memit.dec.com From: shatara@memit.dec.com (Chris Shatara) Newsgroups: comp.sys.apple Subject: Re: Problem with TML Pascal Message-ID: <368@mountn.dec.com> Date: 28 Jun 89 01:15:40 GMT Sender: news@mountn.dec.com Organization: Digital Equipment Corporation Lines: 29 In article <32738@apple.Apple.COM>, dlyons@Apple.COM (David Lyons) writes... >In article <9695@boulder.Colorado.EDU> hartkopf@tramp.Colorado.EDU (HARTKOPF JEFFREY M) writes: >>Earlier, I posted this message: >> >>>I'm having a problem with TML Pascal that I *hope* someone can help me >>>with. I've written a fairly long program (~90 K by now) with quite a few >>>units (don't know if this is relevant to my problem or not) and everything >>>has worked fine until a day ago. When I try to compile the main program to >>>disk, the compiling and linking goes fine but then at the end it gives me >>>the error dialog, "Error in writing to application file" (it compiles to >>>memory fine). [...] One problem might be that you are exceeding the 64K boundry for code and data segments. You might want to look at the writeups on compiler directives for setting multiple code and/or data segments in the TML pascal manual (pages 71-2 and Appendix B). The diagnostics in the TML compiler are quite poor and I've run into many situations where the program appears to work sometimes and sometimes not as well as working when compiling to memory but not when compiling to disk Hope this helps....Chris -------------------------------------------------------------------- Chris Shatara shatara@memit.dec.com --or-- ...!decwrl!memit.dec.com!shatara --or-- shatara%leddev.dec@decwrl.dec.com { a frustrated ex-engineer who misses development } --------------------------------------------------------------------