home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / modula2 / 1086 < prev    next >
Encoding:
Internet Message Format  |  1992-08-30  |  1.4 KB

  1. 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
  2. From: mwalls@nmsu.edu (Commander Keen)
  3. Newsgroups: comp.lang.modula2
  4. Subject: Of Mice & Modula-2
  5. Message-ID: <1992Aug29.210150.15315@nmsu.edu>
  6. Date: 29 Aug 92 21:01:50 GMT
  7. Sender: usenet@nmsu.edu
  8. Distribution: comp.lang.modula2
  9. Organization: NMSU Computer Science
  10. Lines: 37
  11.  
  12.  
  13.     First off, let me make a better explanation of what I'm wanting to
  14. know from my previous post.
  15.  
  16.     In BASIC you can open a Random (or Indexed) file by using the
  17. following:
  18.  
  19.     OPEN "r", #1, "filename.ext", record size
  20.  
  21.     where record size is the number of bytes set aside per record.
  22.  
  23.     Then, at any time while it is open, one can get or put information
  24. into a specific point in the file by using:
  25.  
  26.     GET #1, rec
  27.        or
  28.   PUT #1, rec
  29.  
  30.     (where rec is the record to be accessed)
  31.  
  32. Is there a way to do this in Modula-2.  This is probably a stupid
  33. question, but I really don't know.
  34.  
  35. Anyway...
  36.  
  37.     Does anyone have or know of a public domain library module for
  38. reading mice activity? 
  39.     If not, could someone give me some insight on writing one of my own?
  40.  
  41.     For the project I'm working on, this is probably a more important
  42. question than the one about random files.
  43.  
  44.     Rather than post an answer to the net, I'd prefer you e-mail me
  45. responses (unless you feel that others may wish to know also).
  46.  
  47.                                                                         Craig
  48.                                                                         mwalls@NMSU.Edu
  49.