File:  [LON-CAPA] / loncom / html / adm / help / tex / Spreadsheet_Referencing_Parameters.tex
Revision 1.7: download - view: text, annotated - select for diffs
Thu Aug 26 21:06:38 2010 UTC (13 years, 10 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_11_1, version_2_11_0_RC3, version_2_11_0_RC2, version_2_11_0_RC1, version_2_11_0, version_2_10_X, version_2_10_1, version_2_10_0_RC2, version_2_10_0_RC1, version_2_10_0, loncapaMITrelate_1, language_hyphenation_merge, language_hyphenation, HEAD, BZ4492-merge, BZ4492-feature_horizontal_radioresponse
- Need to escape ampersand.

\label{Spreadsheet_Referencing_Parameters}

In the assessment-level spreadsheet, the parameters are available for
calculation in three ways.

\begin{enumerate}
\item Reference the cell containing the parameter: \texttt{'A7'}

\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}


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