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"
Your message still helps in 2018 :D