Forum: Object-Pascal / Delphi-Language
Delphi
by himitsu,
10. Jul 2018
Mathematisch und nur mit = <> * + und - kann man problemlos sich alles binär und bitweise betrachten. (mehrere boolsche Operationen)
(x in A) and (y in A) and (z in A) = A * =
(x in A) or (y in A) or (z in A) = A * <>
Bei <> die Ergebnisse der einzelnen Bits/Werte mit ODER und bei = mit UND verbinden.
Forum: Object-Pascal / Delphi-Language
Delphi
by himitsu,
10. Jul 2018
Mathematik:
x in A // EIN Wert ist in A drin
A * <> // EIN Wert ist in A drin
A * = // NUR dieser Wert ist in A drin (wie IN)
A = B // beides sind gleich
A * B = B // alles von B ist in A drin
A * B = // nichts von B ist in A drin
A * B <> // irgendwas von B ist in A drin
A - B <> // nichts außer etwas von B in A drin