--- 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 2007/01/23 01:48:37 1.4 @@ -1,11 +1,15 @@ \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} -2. Reference the parameter by name: \texttt{[parameter_0_weight]} +2. 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. + +3. Use the &PARM() function, this will get run as part of the perl + code evaluation. -In each case the value of the parameter will replace the reference before the -perl code in the cell is executed.