[comp.sys.mac.hypercard] Appending to files

her3@sphinx.uchicago.edu (Benjamin 'Drew' Herman) (08/06/88)

(I found I was unable to mail direct since my machine does not
  recognize UUCP. addresses (only internet, arpa, etc.))

Hi, this is a guess and may be a hopeless hack.
The problem seems to be that when the file is opened the 
File Pointer is set to zero the first character of the file.

So to append to a file simple read all the data in the file.
ie. read from file <file> until <EOF> (<- I'm not sure how to do this)

then Feel free to write out to the file.
since the File Pointer sould now be at the bottom of the file everything 
should work right. 
(This used to work on older systems with sequencial only files.)

This is a Guess. I repeat This IS A GUESS.
Tell me if It works.

Ben Herman

-- 
Internet: her3@sphinx.uchicago.edu
BITNET:   her3@sphinx.uchicago.bitnet
UUCP:    {ihnp4!gargoyle,oddjob}!sphinx!her3


Internet: her3@sphinx.uchicago.edu
BITNET:   her3@sphinx.uchicago.bitnet
UUCP:    {ihnp4!gargoyle,oddjob}!sphinx!her3