Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!casbah.acns.nwu.edu!nucsrl!igloo!infopls!hoffmann From: hoffmann@infopls.chi.il.us (Robert Hoffmann) Newsgroups: comp.lang.pascal Subject: Re: Structure TOO large...help please Message-ID: Date: 14 Apr 91 21:56:28 GMT References: <1991Apr10.145652.449@miavx2.ham.muohio.edu> Organization: INFOPLUS support, Wheeling, IL Lines: 23 brpleshek@miavx2.ham.muohio.edu writes: > I'm creating a program that keeps track of a diver's logbook. Now My problem > is that I have so much declared that TP6.0 gives me a structure too large > error(#22 Used more than 65520 bytes). Now I have a 386 w/ 3 Megs of RAM and > want to use this space to make the structure larger. Will the Memory > Allocation Size Command help. This is on page 416 of the User's Ref book. > Will this allow me to use more memory??? Nope. Your problem is not total memory size, it's the size of the RECORD you declared to hold logbook info. TP (and DOS, for that matter) can't address a record larger than 64K (65,520 bytes) because of the way it addresses segmented memory (believe me, a full explanation requires a small book). What you need to do is break the RECORD structure down into two smaller ones... of course, I *am* stumped to hear that a logbook would require a RECORD size of 64K... :) Rob -------------------------------------- hoffmann@infopls.chi.il.us