Thank you very much. The suggestion of having 3 components and addding variables works perfectly. I still have a last issue. The experiment works offline, but not online because of including
$W2 + ‘\n’ + W9 in the text component. Any idea why this happens?
Thanks!
I’d expect it to work but two alternatives are:
msg = W3+’\n’+W9 in Begin Routine and then set the text component to $msg
Or have the text component as a space constant and then put
text_component_name.text=W3+’\n’+W9 in Begin Routine
The code component needs to be above the text component
A massive thank you! the problem has been worked out thanks to your suggestions.