Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. In computing, a
line number is a method used to specify a particular sequence of
characters in a text file. The most common method of assigning numbers
to lines is to assign every line a unique number, starting at 1 for the
first line, and incrementing by 1 for each successive line. In the C
programming language the line number of a source code line is one
greater than the number of new-line characters read or introduced up to
that point. Line numbers were a required element of syntax in some older
programming languages such as GW-BASIC. The primary reason for this is
that most operating systems at the time lacked interactive text editors;
since the programmer's interface was usually limited to a line editor,
line numbers provided a mechanism by which specific lines in the source
code could be referenced for editing, and by which the programmer could
insert a new line at a specific point.