is it going to consider true when @nx =! [@n1 and @n2 and @n3, and so on...] like it have to be always the same value for each different variable... right?
I need it to see if @nx is different from every single variable!
like saying that there MUST not be a variable with the same value of @nx in the list.
I thought that "||" could work but I'm afraid that it will consider only @n1 "OR" @n2 "OR" @n3
I mean: for example: @nx =! @n4 but it is = to @n3 will be the function activated anyway?
Question
JeffShadow90
hI.
I have a doubt:
if I do && in a script like:
is it going to consider true when @nx =! [@n1 and @n2 and @n3, and so on...] like it have to be always the same value for each different variable... right?
I need it to see if @nx is different from every single variable!
like saying that there MUST not be a variable with the same value of @nx in the list.
I thought that "||" could work but I'm afraid that it will consider only @n1 "OR" @n2 "OR" @n3
I mean: for example: @nx =! @n4 but it is = to @n3 will be the function activated anyway?
Tiny problem but so hard to describe
Thanks
Jeffo
Link to comment
Share on other sites
9 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.