write #1, <HTML> produces error
Posted on 2000-03-23
This should be pretty easy, but I just can't seem to figure it out!
I am writing to a file, and the content is HTML. However, when I try to write an HTML tag, I get an error unless I put it in quotes. The problem? The quotes get written to the file as well.
Here is an example
write #1, <HTML>
this produces an error (waiting for expression). So I do this
write #1, "<HTML>"
this eliminates the error, but the quotes also get written to the file.
I tried using the \ escape character, but that didn't work either. Any ideas?