Need ASCII Character Code

Hi Experts,
What is the ASCII code for CRLF (Carriage Return, Line Feed)?  My program was written in VB6.  

Thanks in advance,
mrotor
mainrotorAsked:
Who is Participating?
 
Martin LissConnect With a Mentor Older than dirtCommented:
You can use the built in constants and in this case it's VBCrLf.
0
 
byundtConnect With a Mentor Commented:
The carriage return is 13 and the line feed is 10.

I get those values by using ASC(vbcr) and ASC(vblf)
0
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
Dave BaldwinFixer of ProblemsCommented:
This is a pretty good table of the ASCII codes: http://www.ascii-code.com/   For more complete information about character sets, I usually go here: http://www.alanwood.net/
0
 
Tony GiangrecoCommented:
Did the link I sent provide the codes you needed?
0
 
Jacques Bourgeois (James Burger)PresidentCommented:
The .NET way of working with that is to use Environment.NewLine.

You usually do not need the ASCII code themselves. If you could show us some sample code, we could tell you what is most appropriate for the situation.
0
 
Martin LissOlder than dirtCommented:
I've requested that this question be closed as follows:

Accepted answer: 125 points for TG-TIS's comment #a40003047
Assisted answer: 125 points for byundt's comment #a40003090
Assisted answer: 125 points for MartinLiss's comment #a40003058
Assisted answer: 125 points for DaveBaldwin's comment #a40003249

for the following reason:

This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.