RE: newlines in ASP

by "eric williams" <eric_alt(at)hotmail.com>

 Date:  Fri, 12 May 2000 15:02:19 PDT
 To:  Chucke(at)captura.com,
leo7278(at)hotmail.com,
hwg-languages(at)hwg.org
  todo: View Thread, Original
I'm not an ace ASP programmer by any means, but I found when I was creating
text for email replies that sometimes using chr(10) didn't work. The lines
ran together for some people getting the mail. I replaced all the chr(10)'s
with chr(13)'s and it works better now.

So I build lines together into a larger variable I can then put into an
email by doing this:

EmailBodyText = "Sincerely," & Chr(13)
EmailBodyText = EmailBodyText & "   " & Chr(13)
EmailBodyText = EmailBodyText & "Chuck Evans" & Chr(13)
EmailBodyText = EmailBodyText & "Captura Software, Inc." & Chr(13)

and in js, text += newtext +" \n";
We used to use chr$(13) in basic all the time, but I haven't run across that 
in js...is it possible? I think chr$(10) is carriage return without line 
down, not sure as I never used it.

How do you reply to list anyway?

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA