--- rat/client/parameter.html 2000/11/27 12:11:55 1.4
+++ rat/client/parameter.html 2001/07/25 03:10:15 1.9
@@ -2,7 +2,9 @@
LON-CAPA
@@ -239,6 +241,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 +287,17 @@ function afterproc() {
function draw() {
choicestart();
- choicewrite('