Writing files

Gregory Lypny gregory.lypny at videotron.ca
Wed Sep 3 20:28:01 EDT 2003


Hello everyone,

	I return to a question I posted some time ago.  I received excellent 
responses then, and I'm hoping to further my understanding of writing 
files.

	Suppose I have a 450 MB text file named X, and I want to tack 500 
lines of data, Y, onto the end of it.  Which of the following is the 
best way, if any, and why?  (Sounds like an exam question.  Sorry, it's 
an occupational thing.)

1.
put Y after url ("file:" & X)

2.
open file X for write
write Y to file X at eof
close file X

3.  (I don't have any experience with this one.)
open file X for append
write Y to file X
close file X

	Regards,

		Greg


	Gregory Lypny
	Associate Professor
	John Molson School of Business
	Concordia University
	_________________________
	"Absence of evidence is not evidence of absence."
             	    - Anonymous

	http://pareto.concordia.ca




More information about the metacard mailing list