3 <SCRIPT language="Javascript">
6 with (document.form1) {
8 alert ("No help available.");
10 alert ("Parenthesis are employed to force precedence between operators.");
11 if (selopt[2].checked)
12 alert ("'not' returns true if the given [boole] is false, 'ex' returns true if there is at least one group of attributes for each [rvar] referenced by the operators or inside the given [boole] for which the condition is true.");
13 if (selopt[3].checked)
14 alert ("'and' returns true if both conditions are true, 'or' returns true if at least one is true.");
15 if (selopt[4].checked)
16 alert ("'sub' returns true if the first [val] is a subset of the second.\n'meet' returns true if the intersection between the two [val] is not empty.\n'eq' returns true if both [val] are identical.");
22 with (document.form1) {
23 if (selopt[0].checked) {
24 top.stadd=boole1.value;
26 if (selopt[1].checked) {
27 top.stadd="([boole])";
29 if (selopt[2].checked) {
30 top.stadd=boole2.value+" [boole]";
32 if (selopt[3].checked) {
33 top.stadd="[boole] "+boole3.value+" [boole]";
35 if (selopt[4].checked) {
36 top.stadd="[val] "+boole4.value+" [val]";
38 if (selopt[5].checked) {
39 boole5.value=top.tpa(boole5.value);
40 top.stadd=boole5.value;
43 if (top.stadd!="") top.aggq();
44 else alert("You left at least one field unfilled");
49 <h1> <SCRIPT language="Javascript">document.write(top.ltr) </SCRIPT>
50 <input type="button" value="<-" onmouseOver="top.help(-8)" onclick="top.annulla()">
51 <input type="button" value="->" onmouseOver="top.help(-81)" onclick="top.ripristina()"></h1>
52 <h2> Select one of the following: </h2>
53 <form name="form1" action="Javascript:choice();" method="get">
54 <input type="radio" name="selopt"> <select name="boole1" onFocus="selopt[0].checked=true">
55 <OPTION value=false> false
56 <OPTION value=true> true
58 <input type="radio" name="selopt"> ( [boole] ) <br>
59 <input type="radio" name="selopt"> <select name="boole2" onFocus="selopt[2].checked=true">
60 <OPTION value=not> not
62 </select> [boole] <br>
63 <input type="radio" name="selopt"> [boole] <select name="boole3" onFocus="selopt[3].checked=true">
64 <OPTION value=and> and
66 </select> [boole] <br>
67 <input type="radio" name="selopt"> [val] <select name="boole4" onFocus="selopt[4].checked=true">
68 <OPTION value=sub> sub
69 <OPTION value=meet> meet
73 <input type="radio" name="selopt"> <input name="boole5" type=text onFocus="selopt[5].checked=true;top.help(1)"> <br>
74 <input type="submit" value="compose"><input type="button" value="get help" onclick="help()">