version 1.7, 2010/08/26 21:06:38
|
version 1.8, 2016/01/03 04:56:48
|
Line 1
|
Line 1
|
\label{Spreadsheet_Referencing_Parameters} |
\label{Spreadsheet_Referencing_Parameters} |
|
|
In the assessment-level spreadsheet, the parameters are available for |
Assessment parameter names are listed when viewing the assessment-level spreadsheet in the column label `Item.' In the assessment-level spreadsheet, the parameters are available for |
calculation in three ways. |
calculation in three ways. |
|
|
\begin{enumerate} |
\begin{enumerate} |
\item Reference the cell containing the parameter: \texttt{'A7'} |
\item Reference the cell containing the parameter value: \texttt{A10} |
|
|
\item Reference the parameter by name: \texttt{'[parameter\_0\_weight]'} |
\item Reference the parameter value by string name in brackets: \texttt{[parameter\char`_0\char`_weight]} |
|
|
In each of these two cases, the value of the parameter will replace the |
In each of these two cases, the value of the parameter will replace the |
reference before the Perl code in the cell is executed. |
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 |
\item Use the \texttt{\&PARM()} function, e.g. \texttt{\&PARM(parameter\char`_0\char`_weight)}, this will get run as part of the perl |
code evaluation. |
code evaluation. |
\end{enumerate} |
\end{enumerate} |
|
|