home *** CD-ROM | disk | FTP | other *** search
- 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
- From: zlsiida@fs1.mcc.ac.uk (dave budd)
- Newsgroups: comp.lang.pascal
- Subject: Turbo Pascal mem[a:b] question
- Message-ID: <zlsiida.414@fs1.mcc.ac.uk>
- Date: 12 Nov 92 16:39:23 GMT
- Sender: news@nessie.mcc.ac.uk (Usenet News System)
- Organization: Manchester Computing Centre
- Lines: 18
-
- One of our users claims he can increase a in mem[a:b]:=value; until it MUST
- be off the end of his machine. This is the kind of user who always forgets
- to bring a disk with the program on it. I've had a brief scan of the manual
- and it's not clear to me just exactly which bits of memory get addressed -
- eg I don't believe they'd let you write into a program segment.
- Are all the addresses relative to the start of the data segment (or
- something along those lines)?
- If the address is off the end of the machine or just bigger than the largest
- allowable, does it get truncated in some way?
- Anybody want to give me a nice simple explanation of how mem[a:b] works?
-
-
-
-
- Practice random kindness and senseless acts of beauty
-
- Dave Budd, MCC, Oxford Rd, Manchester, England (44|0)61-275-6033
- D.Budd@mcc.ac.uk fax 6040
-