Help Contents / Communication / File opening / openAppend

openAppend filename

command.  Opens the named file for writing.  If the file already exists, the write position is initially set to the end of the old file, so that newly written data will be appended to it. 

Example: 

	openAppend "temp.txt 
	setWriter "temp.txt 
	pr [and a line more] 
	close "temp.txt 
	writer		;[temp.txt] ;-) 
	setWriter [] 

And "temp.txt" contains maybe this: 

	This is a test file! 
	and a line more 


previous: openWriteBin	next: openAppendBin
