HomeForumSourceResearchGuide
Sign in to contribute to source. how it works
Type definition file io.TextFile by barry
expand copy to clipboardexpand
/*
{"description" : "Create, read and write text files on a line-by-line basis."}
*/

uses File

interface TextFile extends File{
	
	/*
	 {"@description" : "Open a file in a chosen mode, using one of File.READ or File.WRITE."}
	*/
	TextFile(char path[], byte accessType)
	
	/*
	 {"@description" : "Read one line of text from the file."}
	*/
	char[] readLine()
	
	/*
	 {"@description" : "Write the given text to the file, followed by a new line character."}
	*/
	void writeLine(char line[])
	}
Revision history
To propose a new revision to this entity, use dana source put -ut your/new/version.dn -n io.TextFile -m "reason for update" -u yourUsername
Version 1 (this version) by barry
Notes for this version: Standard Library Initialisation