Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:
  • Seite:
  • 1

THEMA:

logical conditions, more than 2 conditions 25 Dez 2020 10:51 #1

  • gilliam
  • gilliams Avatar Autor
  • Offline
  • Junior Boarder
  • Junior Boarder
  • DS-12
  • Beiträge: 20
  • Dank erhalten: 10
Hello,
under logical conditions, it would be nice to be able to use more than 2 conditions to get a result.
THANK YOU ;)

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

logical conditions, more than 2 conditions 25 Dez 2020 11:24 #2

  • Jürgen
  • Jürgens Avatar
  • Offline
  • Moderator
  • Moderator
  • Beiträge: 4245
  • Dank erhalten: 1997
actually it works now, you just have to nest it. If the operation is fulfilled, I trigger the next logical switch.
Gruß
Jürgen
the master of the Desaster
Folgende Benutzer bedankten sich: gilliam

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

logical conditions, more than 2 conditions 25 Dez 2020 20:12 #3

  • abief
  • abiefs Avatar
  • Offline
  • Expert Boarder
  • Expert Boarder
  • I'm here, there and elsewhere!
  • Beiträge: 95
  • Dank erhalten: 19
logical operators are, by definition, binary or unitary. The classical definitions are AND, OR and NOT, sometimes expanded to XOR (as done by Jeti).

AND requires both values need to be true, i.e. TRUE AND TRUE returns TRUE, and all other combinations return FALSE
OR requires only one value to be true, i..e. FALSE OR FALSE returns FALSE, and all other combinations return TRUE
NOT negates the value, i.e. NOT TRUE is FALSE
XOR requires only one value to be true, i.e. TRUE XOR TRUE will return FALSE, as it would do FALSE XOR FALSE.

to combine different logical operators, what you need to do is combine the result of one logical condition with a second logical condition. As an example:
let's assume you want a condition where Sa, Sb, Sc and Sd are all TRUE: then you need to configure L1 is Sa AND Sb, if you want to combine with Sc, then L2 as L1 AND Sc, and then L3 as L2 AND Sd.

Hope it helps.
Field ready: Taborca (3.4m), Ocelot (1.6m), Alula (0.6m).
Factory line: FVT-3 (1m), A6M Zero (1.6m), Tiger Moth (2.2m), Grumann Goose (2m) and Beechcraft D18 (1.5m).
Design phase: Szd-20x Wampir II (7.5m), Rutan Quickie (1.6m), both parked.
Dreaming: Weird push-pull called Double Trouble (2.4m)
Folgende Benutzer bedankten sich: gilliam

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Letzte Änderung: von abief.

logical conditions, more than 2 conditions 26 Dez 2020 09:04 #4

  • gilliam
  • gilliams Avatar Autor
  • Offline
  • Junior Boarder
  • Junior Boarder
  • DS-12
  • Beiträge: 20
  • Dank erhalten: 10
thank you for the explanations, it seemed easier to me to have a combination with at least 3 conditions instead of writing them two by two, good flights in 2021.
;)

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

  • Seite:
  • 1
Ladezeit der Seite: 0.196 Sekunden
Powered by Kunena Forum