P r i o r i t a e t
hoch
9
8
7
6
6
5
5
4
4
4
4
4
4
3
2
1
n i e d r i g
Die
Z i f f e r n
i n d e r P r i o r i t a e t - S p a l t e
der
h i e r a r c h i s c h e n
2.4.8.4 B o o l e s c h e O p e r a t o r e n ( l o g i s c h e Ausdruecke)
Die
B o o l e s c h e n O p e r a t o r e n NOT, AND und OR s p e z i f i z i e r e n e i n e l o g i -
sche Verknuepfung
O p e r a t o r . Im F a l l von NOT w i r d n u r d e r r e c h t s
b e i t e t . I n d e r R e c h e n h i e r a r c h i e l i e g e n d i e Booleschen O p e r a t o r e n an
n i e d r i g s t e r S t e l l e . B e i s p i e l e :
I F A=100 AND B=100 GOTO 10
Nur
v e r z w e i g t das Programm nach Z e i l e 10.
I F X<Y AND B>=44 THEN F=0
Der V a r i a b l e n F w i r d nur dann der Wert 0 zugewie-
s e n ,
s e r oder g l e i c h 44 i s t .
T a b e l l e 2.2: Mathematische O p e r a t o r e n
Operator
0
t
-
*
/
+
-
a
<>
<
>
> = , = >
NOT
AND
OR
Ordnung. S i e haben s o n s t k e i n e
z w i s c h e n den b e i d e n Termen r e c h t s
wenn
sowohl
A
wenn sowohl X k l e i n e r
Bedeutung
Aufhebung der H i e r a r c h i e
P o t e n z i e r u n g
Negation
M u l t i p l i k a t i o n
D i v i s i o n
A d d i t i o n
S u b t r a k t i o n
G l e i c h
U n g l e i c h
K l e i n e r a l s
G r o e s s e r a l s
K l e i n e r oder g l e i c h
G r o e s s e r oder g l e i c h
L o g i s c h e s Komplement
L o g i s c h e s UND
L o g i s c h e s ODER
d i e n e n n u r zu Kennzeichnung
a l s auch
B g l e i c h
a l s Y a l s auch B g r o e s -
20
Bedeutung.
und l i n k s vom
s t e h e n d e Term bear-
100 s i n d ,