Latest version conflict.
Hi folks,
Long time no speak.
I'm currently adapting some old code on the latest version of OpenSesame for a colleague to use with his undergraduate students.
I've encountered the following issue:
In my old code I could call a variable to display in a sketchpad and add a value to it like so:
text = "Enter text followed my [variable+1] for sketchpad"
That used to take the value in the variable, add 1, and display the total in sketchpad.
It displays the variable when I remove the '+1' but it's not the value I want. Is there a new way of achieving this?
As always, thanks for you time.
Boo.

Comments
Hi Boo,
Try this:
text = "Enter text followed my [=[variable]+1] for sketchpad"Eduard
Hi guys,
The correct syntax is:
The
=indicates that a Python statement follows. This:[variable+1]has never been a valid syntax!See also:
Cheers,
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!