--- doc/homework/homework5.html 2002/06/06 07:13:23 1.15
+++ doc/homework/homework5.html 2002/10/25 20:29:39 1.21
@@ -57,6 +57,11 @@
+ <parameter> exactly the same as
+ <responseparam> currently, but should not appear
+ inside of a <*response>
+
+
<numericalresponse> implements a numerical
answer, it needs an internal <textline> for
the response to go in. It checks all styles of numerical
@@ -83,7 +88,7 @@
<essayresponse> implements a ungraded large
- text response, it need an internal <textarea>
+ text response, it need an internal <textfield>
for the response to go in.
@@ -244,6 +249,31 @@ A message to be shown to the students
name which should be set to the value of which
<hintpart> will be shown.
+
+ <stringhint> has all the arguments that
+ <stringresponse>, does and the required attribute
+ name which should be set to the value of which
+ <hintpart> will be shown.
+
+
+ <formulahint> has all the arguments that
+ <formularesponse>, does and the required attribute
+ name which should be set to the value of which
+ <hintpart> will be shown.
+
+
+ <optionhint> required attribute name
+ which should be set to the value of which <hintpart>
+ will be shown.
+
+
+ <radiobuttonhint> has the required attribute
+ name which should be set to the value of which
+ <hintpart> will be shown, and answer which
+ should be a two element list, frist the type (foil or
+ concept) and then either the foil's name or the concept's
+ string
+
@@ -255,9 +285,9 @@ A message to be shown to the students
-
- <textarea> creates a Large text input box, If
+ <textfield> creates a Large text input box, If
data appears between the start and end tags, the data will
- appear i the textarea if the student has not yet made a
+ appear in the textfield if the student has not yet made a
submission. Additionally it takes two arguments rows
and cols which control the height and width of the
area respectively. It defaults to 10 and 80.
@@ -502,6 +532,12 @@ A message to be shown to the students
the web editor knows what sections should be edited in a
plain text block on the web.
+ -
+ <comment> Allows one to comment out sections
+ of code in a balanced manner, or to provide a comment
+ description of how a problem works. Only shows up for the
+ edit target, stripped out for all other targets.
+
@@ -660,18 +696,24 @@ A message to be shown to the students
/DIS($x,"nn") |
&format($x,"nn") |
- Display or format $x as nn where nn is nF or nE and n is an integer. |
+ Display or format $x as nn where nn is nF or nE and n is an integer. Also supports the first character being a $, it thjen will format the result with a call to &dollarformat() described below. |
The difference is obvious. |
Not in CAPA |
&prettyprint($x,"nn") |
- Display or format $x as nn where nn is nF or nE and n is an integer. In E mode it will attempt to generate a pretty x10^3 rather than a E3 following the number |
+ Display or format $x as nn where nn is nF or nE and n is an integer. Also supports the first character being a $, it then will format the result with a a call to &dollarformat() described below. In E mode it will attempt to generate a pretty x10^3 rather than a E3 following the number |
|
+ Not in CAPA |
+ &dollarformat($x |
+ Reformats $x to have a $ (or \$ if in tex mode) and to have , grouping thousands. |
+ |
+
+
roundto(x,n) |
&roundto($x,$n) |
Rounds a real number to n decimal points. $x and
@@ -1008,7 +1050,7 @@ A message to be shown to the students
|
NOT IMPLEMENTED IN CAPA |
- @return_array=&random_permutation ($item_cnt,@array) |
+ @return_array=&random_permutation ($seed,@array) |
Returns @array randomly permuted. |
New to LON-CAPA |
@@ -1142,7 +1184,7 @@ A message to be shown to the students
Guy Albertelli
-Last modified: Thu Jun 6 03:15:56 EDT 2002
+Last modified: Fri Oct 25 16:29:31 EDT 2002