--- rat/client/parameter.html 2000/11/19 03:23:54 1.2
+++ rat/client/parameter.html 2001/08/08 13:24:52 1.10
@@ -2,7 +2,8 @@
LON-CAPA
@@ -239,6 +240,38 @@ 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='';
+ }
+ if (pscat.indexOf('range')!=-1) {
+ var rangeparts=new Array;
+ rangeparts=split('_',pscat);
+ rangeparts=split('...',rangeparts[1]);
+ if (svaluerangeparts[1]) { svalue=rangeparts[1]; }
+ }
+ 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 +293,17 @@ function afterproc() {
function draw() {
choicestart();
- choicewrite('