--- rat/client/parameter.html 2000/11/28 15:40:42 1.5
+++ rat/client/parameter.html 2001/03/21 15:42:15 1.7
@@ -2,7 +2,8 @@
LON-CAPA
@@ -239,6 +240,31 @@ function intcalc() {
draw();
}
+function integereval() {
+ svalue=choices.document.forms.sch.intval.value;
+ svalue=Math.round(svalue);
+ if (pscat=='zeropos') { svalue=Math.abs(svalue); }
+ if ((pscat=='pos') && (svalue==0)) {
+ svalue='';
+ }
+ draw();
+}
+
+function floateval() {
+ svalue=choices.document.forms.sch.floatval.value;
+ svalue=1.0*svalue;
+ if (pscat=='pos') { svalue=Math.abs(svalue); }
+ if ((pscat=='zeroone') && ((svalue<0) || (svalue>1))) {
+ svalue='';
+ }
+ draw();
+}
+
+function stringeval() {
+ svalue=choices.document.forms.sch.stringval.value;
+ draw();
+}
+
function intervaldis() {
csecs=svalue;
cdays=Math.floor(csecs/86400);
@@ -260,7 +286,17 @@ function afterproc() {
function draw() {
choicestart();
- choicewrite('