Hi all,
I am trying to display a mixture of fixed strings and variable contents inside a text component. I’ve done this in the past by enclosing the strings within triple pairs of inverted commas, prefixing string contents with $str(), and concatenating everything with plus signs (each + on its own line). Now, perhaps of changes to the most recent version of PsychoPy, this keeps giving a syntax error.
For instance, I tried variations of the following, set to change at “every repeat”:
"""the value"""
+
$str(a)
+
"""belongs to variable a"""
Any suggestions? Thanks!
OS (e.g. Win10): win8
PsychoPy version (e.g. 1.84.x): 3.1.0