version 1.1, 2003/06/10 19:29:26
|
version 1.2, 2005/02/22 15:05:14
|
Line 1
|
Line 1
|
\label{Authoring_Responseparam_Parameter} |
\label{Authoring_Responseparam_Parameter} |
|
|
|
|
If \textbf{responseparam} appears it should be inside of a response |
If \textbf{responseparam} appears, it should be inside of a response |
tag. It defines an externally adjustable parameter for this question, |
tag. It defines an externally adjustable parameter for the question, |
which the question can use to allow other users to customize the problem |
which the question can then use to allow other users to customize the problem |
for use in their courses without changing the source code of the problem. |
for their courses without changing the source code of the problem. |
Possible attributes are: |
Possible attributes are: |
|
|
\begin{itemize} |
\begin{itemize} |
\item \textbf{default}\index{default}: required. Specifies a default value |
\item \textbf{default}\index{default}: required. Specifies a default value |
for the parameter. |
for the parameter. |
\item \textbf{name}\index{name}: required, specifies an internal name for |
\item \textbf{name}\index{name}: required. Specifies an internal name for |
the parameter |
the parameter. |
\item \textbf{type}\index{type}: required specifies the type of parameter, |
\item \textbf{type}\index{type}: required. Specifies the type of parameter: |
one of \textbf{tolerance}, \textbf{int}, \textbf{float}, \textbf{string}, |
\textbf{tolerance}, \textbf{int}, \textbf{float}, \textbf{string}, |
or \textbf{date}. |
or \textbf{date}. |
\item \textbf{description}\index{description}: a string describing the |
\item \textbf{description}\index{description}: string describing the |
parameter, this is what is used to talk about a parameter outside |
parameter. This is what is used to talk about a parameter outside |
of a problem |
of a problem. |
\end{itemize} |
\end{itemize} |
\textbf{parameter} is exactly the same as \textbf{responseparam}, |
\textbf{parameter} is exactly the same as \textbf{responseparam}, |
but should appear outside of a response tag. |
but should appear outside of a response tag. |