LON-CAPA Help
If responseparam appears, it should be inside of a response
tag. It defines an externally adjustable parameter for the question,
which the question can then use to allow other users to customize the problem
for their courses without changing the source code of the problem.
Possible attributes are:
- default: required. Specifies a default value
for the parameter.
- name: required. Specifies an internal name for
the parameter.
- type: required. Specifies the type of parameter:
tolerance, int, float, string,
or date. Additional constraints for the type can be specified by
adding an underscore and the constraint name to the type, for instance
int_pos means strictly positive integer.
- description: string describing the
parameter. This is what is used to talk about a parameter outside
of a problem.
parameter is exactly the same as responseparam,
but should appear outside of a response tag.