version 1.2, 2002/07/18 15:52:27
|
version 1.3, 2005/02/15 14:55:39
|
Line 5 A \textbf{statement\index{statement}} is
|
Line 5 A \textbf{statement\index{statement}} is
|
to the computer. Most problems will be built from several statements. |
to the computer. Most problems will be built from several statements. |
|
|
A script can contain \textbf{comments}, which are not interpreted as statements |
A script can contain \textbf{comments}, which are not interpreted as statements |
by the computer. Comments start with \textbf{\#}, and go to the end of that |
by the computer. Comments start with \textbf{\#} and go to the end of that |
line. Thus, if a line starts with \#, the whole line is ignored. Comments |
line. Thus, if a line starts with \#, the whole line is ignored. Comments |
can also begin in the middle of a line. It is a good idea to comment more |
can also begin in the middle of a line. It is a good idea to comment more |
complicated scripts, as it can be very difficult to read a large script and |
complicated scripts, as it can be very difficult to read a large script and |