home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / lang / pascal / 6551 < prev    next >
Encoding:
Internet Message Format  |  1992-11-13  |  1.3 KB

  1. Path: sparky!uunet!ornl!utkcs2!darwin.sura.net!zaphod.mps.ohio-state.edu!rpi!usc!elroy.jpl.nasa.gov!ames!agate!doc.ic.ac.uk!uknet!mucs!nessie!db.mcc.ac.uk!zlsiida
  2. From: zlsiida@fs1.mcc.ac.uk (dave budd)
  3. Newsgroups: comp.lang.pascal
  4. Subject: Turbo Pascal mem[a:b] question
  5. Message-ID: <zlsiida.414@fs1.mcc.ac.uk>
  6. Date: 12 Nov 92 16:39:23 GMT
  7. Sender: news@nessie.mcc.ac.uk (Usenet News System)
  8. Organization: Manchester Computing Centre
  9. Lines: 18
  10.  
  11. One of our users claims he can increase a in mem[a:b]:=value; until it MUST 
  12. be off the end of his machine.  This is the kind of user who always forgets 
  13. to bring a disk with the program on it.  I've had a brief scan of the manual 
  14. and it's not clear to me just exactly which bits of memory get addressed - 
  15. eg I don't believe they'd let you write into a program segment.
  16. Are all the addresses relative to the start of the data segment (or 
  17. something along those lines)?
  18. If the address is off the end of the machine or just bigger than the largest 
  19. allowable, does it get truncated in some way?
  20. Anybody want to give me a nice simple explanation of how mem[a:b] works?
  21.  
  22.  
  23.  
  24.  
  25.         Practice random kindness and senseless acts of beauty
  26.  
  27.   Dave Budd, MCC, Oxford Rd, Manchester, England   (44|0)61-275-6033  
  28.   D.Budd@mcc.ac.uk                                          fax 6040
  29.