--- doc/homework/homework5.html 2002/06/07 06:39:00 1.17 +++ doc/homework/homework5.html 2002/07/17 18:08:38 1.19 @@ -507,6 +507,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. +
  • @@ -665,18 +671,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 @@ -1147,7 +1159,7 @@ A message to be shown to the students
    Guy Albertelli
    -Last modified: Thu Jun 6 04:28:33 EDT 2002 +Last modified: Fri Jul 12 21:28:44 EDT 2002