--- loncom/html/adm/help/tex/Numerical_Response_Simple_Example.tex 2002/07/05 16:12:31 1.1
+++ loncom/html/adm/help/tex/Numerical_Response_Simple_Example.tex 2013/08/27 18:54:18 1.4
@@ -1,10 +1,11 @@
+\label{Numerical_Response_Simple_Example}
A script consists of several \textbf{statements}, separated by \textbf{semi-colons}.
A \textbf{statement\index{statement}} is the smallest kind of instruction
to the computer. Most problems will be built from several 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
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
@@ -19,13 +20,13 @@ with a \textbf{\$}. In the \textbf{Scrip
before you use them. Put this program into the \textbf{Script} field of the
Numerical Response:
-\begin{lyxcode}
+\begin{verbatim}
\$variable~=~3;
-\end{lyxcode}
+\end{verbatim}
This creates a variable named \textbf{variable} and assigns it the value
of {}``3''. That's one statement.
\end{itemize}
Variable names are \emph{case sensitive}, must start with a letter, and can
only consist of letters, numbers, and underscores. Variable names can be
-as long as you want.
+as long as you want.