home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / pascal / 4910 < prev    next >
Encoding:
Internet Message Format  |  1992-08-19  |  1011 b 

  1. Path: sparky!uunet!newsgate.watson.ibm.com!news.ans.net!malgudi.oar.net!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!matt.ksu.ksu.edu!news
  2. From: holland@matt.ksu.ksu.edu (Rich Holland)
  3. Newsgroups: comp.lang.pascal
  4. Subject: Re: Updating
  5. Date: 19 Aug 1992 16:14:42 -0500
  6. Organization: Kansas State University
  7. Lines: 17
  8. Message-ID: <16udk2INNn01@matt.ksu.ksu.edu>
  9. References: <1992Aug19.041343.23349@Armstrong.EDU> <19AUG92.06011743@skyfox.usask.ca>
  10. NNTP-Posting-Host: matt.ksu.ksu.edu
  11.  
  12. friesenda@skyfox.usask.ca writes:
  13.  
  14. >VAR
  15. >   F : FILE of (whatever your record type is);
  16. >.
  17. >.
  18. >Assign( F, "MYFILE" );
  19. >Reset( F );
  20. >Seek(FileSize( F ));  { This should take you to the end of the file }
  21.  
  22. Wouldn't Seek(EOF) work just as well, and read more clearly?
  23.  
  24. -- 
  25. Rich Holland              | INTERNET: holland@matt.ksu.ksu.edu
  26. 100 Jardine Terr, Apt A7  | BITNET  : holland@ksuvm
  27. Manhattan, KS  66502-3357 | UUCP    : ...!rutgers!matt.ksu.ksu.edu!holland
  28. "Jesus saves...but Gretzky gets the rebound!  He shoots!  He scores!!"
  29.