[comp.sys.mac.programmer] How to append to file in HyperCard?

gft_robert@gsbacd.uchicago.edu (03/27/90)

I need to append to a text file in HyperCard.  Now, I know that the first write
in HyperCard usually zeroes out the file, but a friend suggested this
technique, which he figured out empirically.  It seems to work, but I'm
interested to know whether this technique has worked for anyone else, or
whether anyone has had any other ideas.

The technique is to open the file, read from it in large chunks until
"it=empty", then start writing to it, then close it.  This seems to append to
the file fine.

Any comments?  Any ideas?

Robert

(P.S. I'm cross-posting to .programmer since traffic is LOW on .hypercard) 

 
============================================================================
= gft_robert@gsbacd.uchicago.edu * generic disclaimer: * "It's more fun to =
=            		         * all my opinions are *  compute"         =
=                                * mine                *  -Kraftwerk       =
============================================================================