
jdaly1.5524941727323086E12 asked a question.
InstallScript If Logic
Greetings,
Is it possible to do Or/Ands in if statements.
Like in VB you would do
If condition = somevalue or condition=someothervalue then
do something
else
do something else
end if
I was trying to see this in the documentation, but didn't see it anywhere, so was wondering if this was possible.
And logical-and:if ((var1=1) && (var2=2)) then // etc.
Yes, it works similarly to C; for logical-or:if ((var1=1) || (var2=2)) then // etc.
And logical-and:if ((var1=1) && (var2=2)) then // etc. "
Thank you.:)