home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.pascal
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!mips!sdd.hp.com!usc!sol.ctr.columbia.edu!The-Star.honeywell.com!umn.edu!doug.cae.wisc.edu!castlab.engr.wisc.edu!chris
- From: chris@castlab.engr.wisc.edu (Christian Rohrmeier)
- Subject: RO/WO Files
- Organization: U of Wisconsin-Madison College of Engineering
- Date: 19 Aug 92 15:34:27 CDT
- Message-ID: <1992Aug19.153428.13654@doug.cae.wisc.edu>
- Lines: 12
-
- Simple question here:
-
- When appending to a text file the file is Write Only and file position is
- set to the end, and if you use Reset the file is Read Only and the file
- position is et to the beginning. So, how does one read the file, determine
- one is at the right spot, and then write something to that spot??
-
- Since I'm using a text file I can't use any of the seek functions, so I
- got and read the file character by character and then look at where I
- am, which i can't do when i want rite to the file since it become read-only!
-
- -Christian
-