[solved] Setting global variables
Hello everyone!! I'm trying to set global variables in a dummy experiment using an inline script. But I'm getting execution errors when I try to run the experiment.
This is the code:
foo = 1
Then, when I try to invoke "foo_var" in a sketchpad, OpenSesame shows me a execution error, like this:
Error: Runtime error
Description: Variable 'foo_var' is not set in item 'sketchpad'.
You are trying to use a variable that does not exist. Make sure that you have spelled and capitalized the variable name correctly. You may wish to use the variable inspector (Control + I) to find the intended variable.
Thanks in advance!!
EDIT: Solved... I was using a sketchpad instead of a feedback item... Sorry :P