--- loncom/html/adm/help/tex/Spreadsheet_Referencing_Parameters.tex 2003/08/29 21:08:40 1.1 +++ 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. +In the assessment-level spreadsheet, the parameters are available for +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.