ASCII code for the Enter key

mathieu -  
 Abdo -
Hello,

For an application, I need to know the ASCII code for the enter key but I can't find it in the ASCII tables, could someone tell me what code it corresponds to?

Thank you very much

Mathieu

14 answers

  1. blux Posted messages 2046 Registration date   Status Moderator Last intervention   3 455
     
    Hello,

    the "enter" key usually generates two codes:

    a carriage return and a line feed, which are called CR (carriage return) and LF (line feed) respectively

    10 and 13 are the two corresponding codes...

    --
    Cheers, Blux
     "You can do anything with idiots. It's even how you recognize them" 
    47
    1. needhelp
       
      Thanks @blux
      Your message still helps in 2018 :D
      0
    2. Abdo
       
      You're the best! Good answer, thank you.
      0