Creating a WriteLine Function
Written by Eric Smith, Northstar Computer Systems LLC
In several previous tips, you learned that any code printed using Response.Write is simply streamed into the output file without any white space or newline characters. To make this easier to do in my own applications, I've created a simple function called WriteLine that looks like this:
Sub WriteLine(strText)
Response.Write strText & vbCrLf
End Sub
This function saves me from having to always remember to add the vbCrLf character at the end of every line of code.
Keywords: [
Uncategorized ASP Tips
]
Publication Date: 1/1/2000
|