[solved] Custom Feedback
I am very new to both OpenSesame and Phyton, so sorry in advance if the question is either silly or already solved.
I've successfully created the variable X via in-line script. The variable X does everything I need, and the experiment works fine - all the variables are well logged and so on... Variable X changes at every trial accordingly to the performance of the subject. X is an integer, not a float or string type.
But you know, sometimes you may want to add 'classy' details.
Once in a while I let the participants take a break. During breaks I would like to show them a lot of text, just to keep in mind the instructions, but also the value of the variable X. I use a text_display object.
Putting [X] in the text does not work.
Despite X is continuosly setted and changed during the procedure ( exp.set('X', X) ), the only value [X] gives is 0, namely the initial value of X. I tried Phyton language into the text but it is read as a string.
Variable X, in the log file, is fine instead.
What am I missing?
Thanks a lot for your work and attention!