File:  [LON-CAPA] / loncom / html / adm / help / tex / Spreadsheet_Referencing_Parameters.tex
Revision 1.8: download - view: text, annotated - select for diffs
Sun Jan 3 04:56:48 2016 UTC (8 years, 10 months ago) by lira
Branches: MAIN
CVS tags: version_2_12_X, version_2_11_X, version_2_11_5_msu, version_2_11_5, version_2_11_4_uiuc, version_2_11_4_msu, version_2_11_4, version_2_11_3_uiuc, version_2_11_3_msu, version_2_11_3, version_2_11_2_uiuc, version_2_11_2_msu, version_2_11_2_educog, version_2_11_2, HEAD
improve clarity on where to see parameter names. Also fix formatting.

\label{Spreadsheet_Referencing_Parameters}

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.

\begin{enumerate}
\item Reference the cell containing the parameter value: \texttt{A10}

\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
reference before the Perl code in the cell is executed.

\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.
\end{enumerate}


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>