Debian Codegraph @

help/info/boolean.html

raw symbols SCIP
1 <!--
2 Copyright (c) 2000-2021 Ericsson Telecom AB
3 All rights reserved. This program and the accompanying materials
4 are made available under the terms of the Eclipse Public License v2.0
5 which accompanies this distribution, and is available at
6 https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html
7
8 Contributors:
9 Baji, Laszlo
10 Balasko, Jeno
11 Csorba, Mate
12 Farkas, Laszlo
13 Feher, Csaba
14 Szabados, Kristof
15 -->
16 <html>
17 <head>
18 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
19 <meta http-equiv="Content-Language" content="en-us">
20 <title>boolean</title>
21 </head>
22 <body bgcolor="#DAD3C5" vlink="#0094D2" link="#003258">
23 <table align="left" border="0" cellspacing="0" cellpadding="0" valign=top>
24 <tr>
25 <td width=105 height=40><a href="https://projects.eclipse.org/projects/tools.titan"><img src="../images/titan_transparent.gif" border=0 width=105 height=40 align="left" alt="Titan"></a></td>
26 </tr>
27 </table>
28 <table border="0" align="right" cellpadding="0" cellspacing="0">
29 <tr>
30 <td><a href="../titan_main.html" alt="contents"><img border="0" src="../images/ao.jpg" width="53" height="40"></a></td>
31 <td><a href="../titan_index.html" alt="index"><img border="0" src="../images/up.jpg" width="53" height="40"></a></td>
32 <td><a href="bitstring.html" alt="previous"><img border="0" src="../images/left.jpg" width="53" height="40"></a></td>
33 <td><a href="break.html" alt="next"><img border="0" src="../images/right.jpg" width="53" height="40"></a></td>
34 </tr>
35 </table>
36 <p><br clear="all">
37 </p>
38 <hr>
39 <h1>boolean</h1>
40 <hr align="left" width="75%">
41 <p>The boolean keyword denotes a simple basic type consisting of two distinguished values namely <a href="true.html"><b>true</b></a> or <a href="false.html"><b>false</b></a>.</p>
42 <ul>
43 <li>A Boolean expression containing logical operators (<font face="Courier New"><b>and</b></font>, <font face="Courier New"><b>not</b></font>, <font face="Courier New"><b>or</b></font>, <font
44 face="Courier New"><b>xor</b></font>) shall resolve to a value of type Boolean.</li>
45 </ul>
46 <p>Related keywords:</p>
47 <ul>
48 <li><a href="and.html"><b><font face="Courier New" color="#003258" size="4">and</font></b></a></li>
49 <li><a href="not.html"><b><font face="Courier New" color="#003258" size="4">not</font></b></a></li>
50 <li><a href="or.html"><b><font face="Courier New" color="#003258" size="4">or</font></b></a></li>
51 <li><a href="xor.html"><b><font face="Courier New" color="#003258" size="4">xor</font></b></a></li>
52 <li><a href="true.html"><b><font face="Courier New" color="#003258" size="4">true</font></b></a></li>
53 <li><a href="false.html"><b><font face="Courier New" color="#003258" size="4">false</font></b></a></li>
54 <li><a href="ischosen.html"><b><font face="Courier New" color="#003258" size="4">ischosen</font></b></a></li>
55 <li><a href="ispresent.html"><b><font face="Courier New" color="#003258" size="4">ispresent</font></b></a></li>
56 </ul>
57 <hr align="left" width="50%">
58 <div align="center">
59 <center>
60 <table border="0" width="90%" bgcolor="#FFB599" cellpadding="4">
61 <tr>
62 <td width="100%">
63 <h3 align="center"><font face="Courier New" color="#003258" size="5"><b>boolean</b></font></h3>
64 </td>
65 </tr>
66 </table>
67 </center>
68 </div>
69 <hr align="left" width="50%">
70 <p>Example 1:
71 <p><font face="Courier New">const boolean c_I_can_read_this := true;<br>
72 </font>
73 <p>The constant defined is called c_I_can_read_this and has the value true.</p>
74 <hr align="left" width="25%">
75 <hr align="left" width="25%">
76 <p><a HREF="BNF.html#booleankeyword">BNF definition</a> of <font face="Courier New">boolean</font> <br>
77 <a HREF="BNF.html#booleanvalue">BNF definition</a> of boolean value</p>
78 </body>
79 </html>