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.

    1: \label{Spreadsheet_Referencing_Parameters}
    2: 
    3: In the assessment-level spreadsheet, the parameters are available for
    4: calculation in three ways.
    5: 
    6: \begin{enumerate}
    7: \item Reference the cell containing the parameter: \texttt{'A7'}
    8: 
    9: \item Reference the parameter by name: \texttt{'[parameter\_0\_weight]'}
   10: 
   11: In each of these two cases, the value of the parameter will replace the
   12: reference before the Perl code in the cell is executed.
   13: 
   14: \item Use the \texttt{\&PARM()} function, this will get run as part of the perl
   15:    code evaluation.
   16: \end{enumerate}
   17: 

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