--- rat/client/parameter.html 2000/11/23 20:42:02 1.3
+++ rat/client/parameter.html 2001/03/23 19:16:13 1.8
@@ -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('