|
Post by kopooli on Oct 18, 2021 18:46:38 GMT
Hello,
I would like to ask you for help in finding an "or" function. I need an "or" function for my experiment. I need to use it like this:
while $icon5 == @1 OR $icon5 == $icon1 OR $icon5 == $icon2 OR $icon5 == $icon3 OR $icon5 == $icon4 set $icon5 random 1 9
while-end
This is one of few randomization elements in my experiment. I need to randomize stimuli, but I also need them to not repeat. Because of that I need to generate random number from 1 to 9 until they are unique in set of numbers and 1 trial. I have finished the whole experiment and every randomization element works but this one.
Only function I found is "&&" but this does not work in my case. I tried it and it looks like it is "AND" function.
Thank you for your interest.
|
|
|
Post by kopooli on Oct 21, 2021 11:16:31 GMT
|
|