hard returns in asp.

Results 1 to 3 of 3

Thread: hard returns in asp.

  1. #1
    Leo Temp Guest

    Default hard returns in asp.

    this is a real dumb question but for the life of me i cant find it anywhere in any books. How do i use hard returns (line breaks) in my source. I have some huge *** vars and currently i have to write the entire var on the same line so 15 lines of code looks more like a paragraph out of a book (very frustrating).<BR><BR> So if i have a line like this:<BR>&#060;%<BR>var="blahBLAHblahBLAHblahBLAHb lahBLAHblahBLAHblahBLAHblahBLAHblahBLAHblahBLAHbla hBLAHblahBLAHblahBLAHblahBLAHblahBLAHblahBLAH"<BR> &#037;&#062;<BR> I want it to look like this<BR>&#060;%<BR>var="blahBLAHblahBLAHblahBLAH<B R> blahBLAHblahBLAHblahBLAH<BR> blahBLAHblahBLAHblahBLAH<BR> blahBLAHblahBLAHblahBLAH"<BR>&#037;&#062;<BR><BR>w hen i try this i get the usual error about not knowing what im doing.<BR><BR> LEO

  2. #2
    e Guest

    Default RE: hard returns in asp.

    add Chr(13) & Chr(10)<BR><BR>to the code, this is a hard carriage return.<BR><BR>eDog

  3. #3
    Mark Wilson Guest

    Default RE: hard returns in asp.

    Write the variable in chunks<BR><BR>&#060;%<BR>var="blahBLAHblahBLAHblah BLAH"<BR>var=var & "blahBLAHblahBLAHblahBLAH"<BR>var=var & "blahBLAHblahBLAHblahBLAH"<BR>var=var & "blahBLAHblahBLAHblahBLAH"<BR>&#037;&#062;<BR> <BR>

Posting Permissions

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