Encyclopedia > Carrying return

  Article Content

Carriage return

Redirected from Carrying return

In computing, the carriage return (CR) is one of control characters in ASCII code or EBCDIC that commands a printer or other sorts of display to move the position of the cursor to the first position on the same line. It is mostly used along with line feed, a move to the next line while carriage return precedes line feed to indicate new line.

In ASCII, it is defined as 13 in decimal and 0D in hexadecimal.

In C programming language and many other languages influenced from that, \r denotes this character.

The term derives from the fact that when this control character was sent to early printers, it would physically return the carriage, similar to the operation of a typewriter.

References



All Wikipedia text is available under the terms of the GNU Free Documentation License

 
  Search Encyclopedia

Search over one million articles, find something about almost anything!
 
 
  
  Featured Article
Springs, New York

... people, 1,924 households, and 1,252 families residing in the town. The population density is 225.9/km² (584.8/mi²). There are 3,878 housing units at an average ...

 
 
 
This page was created in 23.2 ms