unknown or variably defined
Hi everyone,
I am trying to learn how to use opensesame, so I am currently following the Intermediate tutorial (JavaScript): visual search. I am using 3.3.8 version and ran into a problem. Currently, I am in step tree. I have alredy defined the variables change between blocks (color; shape).
in one hand, it seems that open sesame understood in the insructions (skech-pad) these (target_color; target_shape) are variables (since when I run only one shape and one color apears) , but when I tried that the color of circle in the insructions will chage in a line with target_color (and the square), it does not work, and a blue warning apears:"unknown or variably defined". I add some screenshots to make the problem more clear.
at first I thought the kind of brackets is the problem, but I tried the other kind as well and it doesn't work.
thank you all!
Comments
Hi @lihina,
This warning is no problem. Whenever you define a feature of a sketchpad as variable (in your case by setting,
color=[target_color]), the sketchpad can't show a preview, because the variable target_color is only known once the experiment runs, not before. Therefore, Opensesame provides you with this warning.So, unless you have other issues than that, you don't have any issues. Everything goes according to plan.
Eduard