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
  • Fresh Boarder
  • Fresh Boarder
  • Beiträge: 11
  • Dank erhalten: 7
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: 4226
  • Karma: 11
  • Dank erhalten: 1956
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
  • Senior Boarder
  • Senior Boarder
  • I'm here, there and elsewhere!
  • Beiträge: 74
  • Dank erhalten: 16
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), ASH-26 (5.4m), Piper Cub (2.7m), Ocelot (1.6m), Alula (0.5m)
Factory line: Carbon Cub (2.2m), A6M Zero (1.6m), Fieseler Storch (3.3m)
Design phase: Szd-20x Wampir II (7.5m), Rutan Quickie (1.6m)
Dreaming: Weird push-pull called Double Trouble (2.7m)
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
  • Fresh Boarder
  • Fresh Boarder
  • Beiträge: 11
  • Dank erhalten: 7
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.156 Sekunden
Powered by Kunena Forum