+ 1
Will "if re3 == $$ and re4 == $$ or re1 == re2" work for an if statement
"if re3 == $$ and re4 == $$ or re1 == re2" will the part that says "re3 == $$ and re4 == $
quot; be counted as one statement and "re1 == re2" be counted as a separate statement?7 odpowiedzi
+ 3
Nope.
re1 == re2 gives a boolean true.
if re3 is not boolean true, it will give false.
And so on for all you do
+ 2
Nope.
The $ymbol is not in a string, so it will return an error.
But assuming you put it in a string, yes
+ 2
Yes! :D
+ 2
If you wanna make matters clearer or change order if operations use brackets
+ 2
will
re1 == re2 == re3 == re4 work?
+ 1
so using that in an if statement would count everything before the or as one statement and everything after it a different one?
0
k! thanks! you are awesome!