home *** CD-ROM | disk | FTP | other *** search
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- Path: sparky!uunet!uvaarpa!darwin.sura.net!paladin.american.edu!auvm!ARIZVMS.BITNET!JHALL
- X-Envelope-to: TOOLB-L@UAFSYSB.BITNET
- X-VMS-To: IN%"TOOLB-L@UAFSYSB.BITNET"
- MIME-version: 1.0
- Content-transfer-encoding: 7BIT
- Message-ID: <01GTZ9GU1T828Y7C4W@CCIT.ARIZONA.EDU>
- Newsgroups: bit.listserv.toolb-l
- Date: Tue, 26 Jan 1993 15:28:01 -0700
- Sender: Asymetrix 'Toolbook' product discussions <TOOLB-L@UAFSYSB.BITNET>
- From: JHALL@ARIZVMS.BITNET
- Subject: Re: Writing files
- Lines: 25
-
- Re: writing files from Toolbook. A couple of followup questions
- to Graham about writing to files. I have done quite a bit of this
- and had no problems BUT,
-
- Have to be carefule about creating a file that does not exist in
- name already. I don't remember the exact problem but using the
- protect parameter caused problems for me. The results (if I did not
- erase the old file with the same name) before I tested the script
- again would be to not create a file and simply leave me with the old
- file with nothing it. Similar to what you have. So at least during
- debugging phase, be sure to erase the old file when you create.
-
- I am also extremely careful about writing then closing the file then
- opening the file up again to write new information (say a new page
- or whatever). I never leave the file open for an extended period of
- time and it has been 100% reliable.
-
- So, have you tried creating a file, then just alternate among the
- openfile, writefile, closefile commands to accomplish the task. What
- I usually do is upon subject id at the beginning of the survey, I create
- the file then close it and then for the rest of the application
- use open/write/close sequence.
-
- So what is my question?? Just what sequence are you using to accomplish
- the writing to files. We'll deal with the network issue next.
-