--- loncom/html/adm/help/tex/Spreadsheet_Referencing_Parameters.tex 2006/08/08 17:47:27 1.3 +++ loncom/html/adm/help/tex/Spreadsheet_Referencing_Parameters.tex 2010/08/26 21:06:38 1.7 @@ -1,11 +1,17 @@ \label{Spreadsheet_Referencing_Parameters} In the assessment-level spreadsheet, the parameters are available for -calculation in two ways. +calculation in three ways. -1. Reference the cell containing the parameter: \texttt{A7} +\begin{enumerate} +\item Reference the cell containing the parameter: \texttt{'A7'} -2. Reference the parameter by name: \texttt{[parameter\_0\_weight]} +\item Reference the parameter by name: \texttt{'[parameter\_0\_weight]'} + +In each of these two cases, the value of the parameter will replace the +reference before the Perl code in the cell is executed. + +\item Use the \texttt{\&PARM()} function, this will get run as part of the perl + code evaluation. +\end{enumerate} -In each case, the value of the parameter will replace the reference before the -Perl code in the cell is executed.