Writeline funtion? Does it exist?

Results 1 to 4 of 4

Thread: Writeline funtion? Does it exist?

  1. #1
    Chris Kent Guest

    Default Writeline funtion? Does it exist?

    I&#039m trying to generate a responser that contains some vbscript in the page. This is not working because response.write refuses to write a new line. HELP!!!!

  2. #2
    Join Date
    Dec 1969
    Posts
    168

    Default RE: Writeline funtion? Does it exist?

    &#060;%<BR>Response.Write("This is line one&#060;p&#062;" & vbcrlf)<BR>Response.Write("This is Line two&#060;p&#062;" & vbcrlf)<BR>%&#062;<BR><BR>If you are writing to an HTML page use a BR or P tag to create a new line... or if you want the actual line feed character (ie what you see in view source) use the vbcrlf.<BR><BR>Hope this helps... Cheers!

  3. #3
    Ian Stallings Guest

    Default RE: Writeline funtion? Does it exist?

    &nbsp;<BR>You can also use chr(13) to write a carriage return.<BR><BR>hope this helps :)

  4. #4
    John Weeflaar Guest

    Default RE: Writeline funtion? Does it exist?

    This also works:<BR>NL = "&#060;" & "BR" & "&#062;"<BR><BR>response.write("this is the first line" & NL)<BR>response.write("this is the second line" & NL)<BR>response.write("this is the third line")


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •