Met Writeline
# ASP WriteLine Method
* * Complete TextStream Object Reference Manual](#)
* * *
The WriteLine method writes a specified text and a newline character to a TextStream file.
### Syntax
TextStreamObject.WriteLine(text)
| Parameter | Description |
| --- | --- |
| text | Optional. The text to write to the file. If this parameter is omitted, a newline character is written to the file. |
### Example
After executing the code above, the file test.txt will look like this:
Hello World!
How are you today?
Goodbye!
* * Complete TextStream Object Reference Manual](#)
YouTip