--- rat/client/parameter.html 2001/08/08 16:41:28 1.13
+++ rat/client/parameter.html 2001/08/08 18:36:24 1.14
@@ -366,15 +366,6 @@ function draw() {
}
}
}
- if (pscat=='sigdigits') {
- tablestart('Agreement on significant digits');
- choicewrite('
Number of digits: '
- +' |
');
-
-choicewrite('Accept if more digits given: '
- +' |
');
-
- }
}
if (ptype=='date') {
@@ -414,8 +405,24 @@ choicewrite('');
+ choicewrite('');
} else {
+ if (pscat=='range') {
+ tablestart('Integer range');
+ choicewrite(' |
Lower Value:'+
+ ' | |
');
+ choicewrite('Upper Value:'+
+ ' | |
');
+ var range=new Array;
+ if ((svalue!='') && (typeof(svalue)!="undefined")) {
+ range=svalue.split(',');
+ if (typeof(range[1])=='undefined') { range[1]=range[0]; }
+ choices.document.forms.sch.val2.value=parseInt(range[0]);
+ choices.document.forms.sch.val4.value=parseInt(range[1]);
+ }
+ } else {
if (pscat=='pos') {
tablestart('Positive (non-zero) integer');
}
@@ -427,9 +434,6 @@ choicewrite(' | ');
choicewrite(' | ');
}
+ }
}
if (ptype=='float') {
@@ -532,6 +537,10 @@ function assemble() {
}
}
}
+ if ((ptype=='int') && (pscat=='range')) {
+ svalue=choices.document.forms.sch.val2.value+','+
+ choices.document.forms.sch.val4.value;
+ }
if (pscat=='default') { svalue=''; }
stype=ptype+'_'+pscat;
}