--- 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 2012/10/12 13:26:55 1.3 @@ -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,13 @@ the function list. % \begin{figure} -\begin{lyxcode} \$a~=~\&random(1.0,10.0,1.0); \$b~=~\&random(-10.0,~-3.0,~1.0); \$answer~=~\$a+\$b; -\end{lyxcode} -\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