home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / pascal / 6664 < prev    next >
Encoding:
Text File  |  1992-11-17  |  944 b   |  26 lines

  1. Newsgroups: comp.lang.pascal
  2. Path: sparky!uunet!utcsri!skule.ecf!torn!news.ccs.queensu.ca!mast.queensu.ca!dmurdoch
  3. From: dmurdoch@mast.queensu.ca (Duncan Murdoch)
  4. Subject: Re: TP's heap
  5. Message-ID: <dmurdoch.283.722034710@mast.queensu.ca>
  6. Lines: 14
  7. Sender: news@knot.ccs.queensu.ca (Netnews control)
  8. Organization: Queen's University
  9. References: <2950.2B09361C@catpe.alt.za>
  10. Date: Tue, 17 Nov 1992 21:11:50 GMT
  11.  
  12. In article <2950.2B09361C@catpe.alt.za> louis@p2.f42.n7101.z5.fidonet.org (Louis Mandelstam) writes:
  13. >
  14. >My project needs a large heap but I also need to run COMMAND.COM from the
  15. >program.  The data in the heap can be lost during the execution, it'll be
  16. >saved before and reloaded afterwards.
  17.  
  18. Use SetMemTop in the Memory unit.  Watch out - SetMemTop doesn't change 
  19. HeapEnd, so the heap is not usable until you call SetMemTop(HeapEnd)
  20. after the Exec, or manually fix HeapEnd.
  21.  
  22. Duncan Murdoch
  23.  
  24. Duncan Murdoch
  25. dmurdoch@mast.queensu.ca
  26.