Building WebApps  «Prev  

TextStream Read and Write Methods

Read(n) Reads n characters from the text file; returns a character string
ReadLine Reads an entire line; does not include the new line character. Returns a character string.
ReadAll Reads the entire file; returns a character string.
Close Closes the file when you are finished.
FileExists Does the file exist (True/False)? This can be used as part of an If/Then statement.
Write(string) Writes a string to the open text file.
WriteLine(string) Writes a string to the text file plus a new
line character.
WriteBlankLines(n) Writes n new line characters to the file.