Okay you need the code to look something like this...
Open "MyFile.txt" for output as #1
Print #1
Close #1