--- loncom/html/adm/help/tex/Numerical_Response_Randomization.tex 2002/07/05 16:12:31 1.1
+++ loncom/html/adm/help/tex/Numerical_Response_Randomization.tex 2013/09/02 21:28:55 1.4
@@ -1,3 +1,4 @@
+\label{Numerical_Response_Randomization}
For LON-CAPA, one of the most important functions is the \texttt{random}
function. Random takes three parameters: a \emph{lower limit}, an \emph{upper
@@ -10,15 +11,15 @@ the function list.
%
\begin{figure}
-\begin{lyxcode}
-\$a~=~\&random(1.0,10.0,1.0);
+\begin{verbatim}
+$a = &random(1.0,10.0,1.0);
-\$b~=~\&random(-10.0,~-3.0,~1.0);
+$b = &random(-10.0,-3.0,1.0);
-\$answer~=~\$a+\$b;
-\end{lyxcode}
+$answer = $a+$b;
+\end{verbatim}
-\caption{Sample \texttt{random} Calls \label{Sample Random Calls figure}}
+\caption{Sample \texttt{Random} Calls \label{Sample Random Calls figure}}
\end{figure}
If you put the script in ``Sample Random Calls'' into the
\textbf{Script} block (replacing whatever contents might be in the block