Ingreso rápido:  

Forum: General Discussion

Tema: OR-disjunction in a query
Hi!

How could you use an OR disjunction in a query?
Something like that:
(leftdeck) OR (rightdeck && shift) ? this : that

"OR" doesn't seem to exist somehow...
 

Mensajes Sun 26 May 24 @ 3:35 pm
AdionPRO InfinityCTOMember since 2006
(a ? on : b) ? script
 

Mensajes Sun 26 May 24 @ 3:39 pm
Cool! It works!
But I don't know why?
What does "on" do or mean?

PS:
The script language of virtualdj is very tricky!!
 

Mensajes Sun 26 May 24 @ 3:52 pm
AdionPRO InfinityCTOMember since 2006
On is the same as yes or true
 

Mensajes Sun 26 May 24 @ 3:54 pm
Thank you! Now it's clear.
Nice tricky expression!
 

Mensajes Sun 26 May 24 @ 4:13 pm