home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!convex!darwin.sura.net!jvnc.net!rutgers!uwm.edu!caen!sol.ctr.columbia.edu!The-Star.honeywell.com!umn.edu!lynx!nmsu.edu!opus!mwalls
- From: mwalls@nmsu.edu (Commander Keen)
- Newsgroups: comp.lang.modula2
- Subject: Of Mice & Modula-2
- Message-ID: <1992Aug29.210150.15315@nmsu.edu>
- Date: 29 Aug 92 21:01:50 GMT
- Sender: usenet@nmsu.edu
- Distribution: comp.lang.modula2
- Organization: NMSU Computer Science
- Lines: 37
-
-
- First off, let me make a better explanation of what I'm wanting to
- know from my previous post.
-
- In BASIC you can open a Random (or Indexed) file by using the
- following:
-
- OPEN "r", #1, "filename.ext", record size
-
- where record size is the number of bytes set aside per record.
-
- Then, at any time while it is open, one can get or put information
- into a specific point in the file by using:
-
- GET #1, rec
- or
- PUT #1, rec
-
- (where rec is the record to be accessed)
-
- Is there a way to do this in Modula-2. This is probably a stupid
- question, but I really don't know.
-
- Anyway...
-
- Does anyone have or know of a public domain library module for
- reading mice activity?
- If not, could someone give me some insight on writing one of my own?
-
- For the project I'm working on, this is probably a more important
- question than the one about random files.
-
- Rather than post an answer to the net, I'd prefer you e-mail me
- responses (unless you feel that others may wish to know also).
-
- Craig
- mwalls@NMSU.Edu
-